CVE-2025-1391

published 17 Feb 2025 · updated 21 Sep 2026

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

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 26.0.10.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatBuild of Keycloak
>=26.0.0 <26.0.1026.0.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-1391 severity on Zeptric[![CVE-2025-1391](https://zeptric.io/badge/cve/CVE-2025-1391.svg)](https://zeptric.io/cve/CVE-2025-1391)