Skip to content
Fencer Vulns
medium 5.4

CVE-2025-1391 json

Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims

published 2025-02-17 20 mo ago modified 2026-09-21 49 d ago also GHSA-gvgg-2r3r-53x7 , EUVD-2025-4583

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 41%
public exploits
0
none known

Summary

A flaw was found in the Keycloak organization feature, which allows the incorrect assignment of an organization to a user if their username or email matches the organization’s domain pattern. This issue occurs at the mapper level, leading to misrepresentation in tokens. If an application relies on these claims for authorization, it may incorrectly assume a user belongs to an organization they are not a member of, potentially granting unauthorized access or privileges.

Patch / fix

  • maven org.keycloak:keycloak-services 26.0.10, 26.1.3
  • Red Hat Red Hat build of Keycloak 26.0 26.0-11, 26.0-12, 26.0.10-3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-1391 updated cvss 5.4

keycloak-services: Improper Authorization in Keycloak Organization Mapper Allows Unauthorized Organization Claims

  • Red Hat Build of Keycloak
    fixed: vendor fix RHSA-2025:2545
  • Red Hat build of Keycloak 26.0 rhbk/keycloak-rhel9 26.0-1741630390, rhbk/keycloak-operator-bundle 26.0.10-3, rhbk/keycloak-rhel9-operator 26.0-1741630464
    fixed: vendor fix RHSA-2025:2544

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-services
>=26.1.0, <26.1.3
<26.0.10
26.1.3
26.0.10

Affected products

  • Red Hat Red Hat Build of Keycloak
  • Red Hat Red Hat build of Keycloak 26.0

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.