Medium severity5.4GHSA Advisory· Published Feb 17, 2025· Updated May 6, 2026
CVE-2025-1391
CVE-2025-1391
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.keycloak:keycloak-servicesMaven | >= 26.1.0, < 26.1.3 | 26.1.3 |
org.keycloak:keycloak-servicesMaven | < 26.0.10 | 26.0.10 |
Affected products
2Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-gvgg-2r3r-53x7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-1391ghsaADVISORY
- access.redhat.com/errata/RHSA-2025:2545nvdWEB
- access.redhat.com/security/cve/CVE-2025-1391nvdWEB
- bugzilla.redhat.com/show_bug.cginvdWEB
- github.com/keycloak/keycloak/commit/5aa2b4c75bb474303ab807017582bc01a9f7e378ghsaWEB
- github.com/keycloak/keycloak/security/advisories/GHSA-gvgg-2r3r-53x7ghsaWEB
- access.redhat.com/errata/RHSA-2025:2544nvd
- github.com/keycloak/keycloak/issues/37169nvd
- github.com/keycloak/keycloak/pull/37235nvd
News mentions
0No linked articles in our index yet.