CVE Catalog

CVE-2025-1391

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.41%

35th percentile - higher than 35% of all known CVEs

Summary

A flaw was found in the Keycloak organization feature, which allows incorrect assignment of an organization to a user if their username or email matches the organization's domain pattern. This occurs at the mapper level, leading to misrepresentation in tokens.

Risk Assessment

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.

Recommendation

Update Keycloak to a patched version and review organization mapping logic to prevent incorrect assignments.

Other vulnerabilities in Keycloak

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS