CVE-2025-1391

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.

Affected Software

VendorProductVersion RangeStatus
26.0.0 < 26.0.10affected
Red HatRed Hat build of Keycloak 26.026.0.10-3 < *unaffected
Red HatRed Hat build of Keycloak 26.026.0-11 < *unaffected
Red HatRed Hat build of Keycloak 26.026.0-12 < *unaffected

Weaknesses

  • CWE-284: Improper Access Control

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References