cve.bz

CVE-2025-1391

5.4 mediumEPSS 0.5%

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 40% of CVEs (scores of 2026-10-31)
CWE
CWE-284
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gvgg-2r3r-53x7Mavenorg.keycloak:keycloak-services>=26.1.0 <26.1.326.1.3
GHSA-gvgg-2r3r-53x7Mavenorg.keycloak:keycloak-services<26.0.1026.0.10

References

Check your stackJSON