Medium severity · published Feb 17, 2025
CVE-2025-1391
Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims
5.4
CVSS
0.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat build of Keycloak 26.0 · Red Hat
All versions, or not specified · source: vendor
Affected product
RH
Red Hat build of Keycloak 26.0
Red Hat
More from Red Hat build of Keycloak 26.0
8.2
CVE-2025-3501
Org.keycloak.protocol.services: keycloak hostname verification
7.5
CVE-2025-11419
Keycloak: keycloak tls client-initiated renegotiation denial of service
7.1
CVE-2025-7365
Keycloak: phishing attack via email verification step in first login flow
6.5
CVE-2024-11734
Org.keycloak:keycloak-quarkus-server: denial of service in keycloak server via security headers
6.5
CVE-2024-10270
Org.keycloak:keycloak-services: keycloak denial of service