CVE-2025-1391Red Hat Build of Keycloak
Medium 5.4
Follow: this CVE · Red Hat · Red Hat Build of Keycloak We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 48
- Auth required
- Yes
- Published
- Feb 17, 2025
- Updated
- Sep 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Red Hat Build of Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services |
≥ 26.1.0 < 26.1.3 |
26.1.3 |
— |
| Maven | org.keycloak:keycloak-services |
< 26.0.10 |
26.0.10 |
— |
Per OSV / GitHub Advisories (GHSA-gvgg-2r3r-53x7). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Red Hat Build of Keycloak
- Red Hat · Red Hat build of Keycloak 26.0
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.