Home / Red Hat / Red Hat Build of Keycloak / CVE-2025-1391
CVE-2025-1391: is it exploited, and which versions of Red Hat Build of Keycloak are affected and fixed?
CVE-2025-1391 is an improper access control vulnerability in Red Hat Build of Keycloak. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: org.keycloak:keycloak-services from 26.1.0 before 26.1.3 and org.keycloak:keycloak-services before 26.0.10 (GitHub advisory GHSA-gvgg-2r3r-53x7). Fixed in 26.1.3 and 26.0.10 (GitHub advisory GHSA-gvgg-2r3r-53x7). Severity: Medium (5.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-1391?
Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims
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.
From the CVE record by redhat, last updated September 21, 2026, 05:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| keycloak-services | from 26.0.0 before 26.0.10 | 26.0.10 | |
| Red Hat | Red Hat Build of Keycloak keycloak-services | not stated | |
| Red Hat | Red Hat build of Keycloak 26.0 rhbk/keycloak-operator-bundle | all versions (default) | 26.0.10-3 |
| Red Hat | Red Hat build of Keycloak 26.0 rhbk/keycloak-rhel9 | all versions (default) | 26.0-11 |
| Red Hat | Red Hat build of Keycloak 26.0 rhbk/keycloak-rhel9-operator | all versions (default) | 26.0-12 |
As the CVE record by redhat states it, last updated September 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | >= 26.1.0, < 26.1.3 | 26.1.3 | GHSA-gvgg-2r3r-53x7 |
| Maven | org.keycloak:keycloak-services | < 26.0.10 | 26.0.10 | GHSA-gvgg-2r3r-53x7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 10, 2025. Summary: Improper Authorization in Keycloak Organization Mapper Allows Unauthorized Organization Claims.
How severe is CVE-2025-1391?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-1391 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 18, 2025)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-284 Improper Access Control
Where are the vendor advisories and references?
- RHSA-2025:2544 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:2545 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-1391 vdb-entry, x_refsource_REDHAT
- RHBZ#2346082 issue-tracking, x_refsource_REDHAT
- https://github.com/keycloak/keycloak/issues/37169
- https://github.com/keycloak/keycloak/pull/37235
When was it published, and where is the official record?
- Reserved
- February 17, 2025
- Published
- February 17, 2025, 14:01 UTC
- CVE record updated
- September 21, 2026, 05:46 UTC by redhat
- NVD
- Deferred, last modified September 21, 2026, 06:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Build of Keycloak?
- Dec 3, 2026CVE-2026-143804 Red Hat Build of Keycloak: no limit on login attempts (brute force)
- Dec 3, 2026CVE-2026-143801 Red Hat Build of Keycloak: missing authorization
- Dec 2, 2026CVE-2026-142446 Red Hat Exploit Intelligence: not Failing Securely
- Dec 2, 2026CVE-2026-142441 Red Hat Exploit Intelligence: improper access control
- Dec 2, 2026CVE-2026-142457 Red Hat Exploit Intelligence: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-142455 Red Hat Exploit Intelligence: denial of service (uncontrolled resource consumption)
- Dec 2, 2026CVE-2026-142454 Red Hat Exploit Intelligence: HTTP request smuggling
- Dec 2, 2026CVE-2026-142452 Red Hat Exploit Intelligence: improper Neutralization of CRLF Sequences
Every CVE in Red Hat Build of Keycloak
Questions about CVE-2025-1391
Is CVE-2025-1391 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Build of Keycloak are affected by CVE-2025-1391?
org.keycloak:keycloak-services from 26.1.0 before 26.1.3 and org.keycloak:keycloak-services before 26.0.10, per the GitHub advisory GHSA-gvgg-2r3r-53x7. The tables above give every range the sources list.
Which version fixes CVE-2025-1391?
26.1.3 and 26.0.10, per the GitHub advisory GHSA-gvgg-2r3r-53x7. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-1391?
Medium (5.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-1391?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.