CVE-2026-9791 json
Keycloak-rhel9: organization data leak after feature disabled in keycloak
published 5mo ago modified 16d ago also GHSA-4q93-v92x-p89f , EUVD-2026-32701
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
A flaw was found in Keycloak. An authenticated user with existing organization membership can exploit this flaw by accessing user-facing APIs, such as the account API or by requesting an OpenID Connect (OIDC) token with the 'organization' scope. This allows organization metadata to be disclosed in tokens, even after an administrator has explicitly disabled the Organizations feature, potentially leading to incorrect authorization decisions by resource servers.
Patch / fix
- maven org.keycloak:keycloak-server-spi-private 26.6.3
- maven org.keycloak:keycloak-services 26.6.3
- Red Hat Red Hat build of Keycloak 26.4 26.4-19, 26.4.13-1
- Red Hat Red Hat build of Keycloak 26.6 26.6-6, 26.6.3-3
- github.com/keycloak/keycloak@0e706e7 commit
- github.com/keycloak/keycloak@a77c60f commit
- github.com/keycloak/keycloak@f19e1f2 commit
- github.com/keycloak/keycloak#49541 pull request
- github.com/keycloak/keycloak#49678 pull request
- github.com/keycloak/keycloak#49680 pull request
Is CVE-2026-9791 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-9791 updated cvss 4.3
keycloak-rhel9: Organization Data Leak After Feature Disabled in Keycloak
-
Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9 26.4-19, rhbk/keycloak-rhel9-operator 26.4-19, rhbk/keycloak-operator-bundle 26.4.13-1fixed: vendor fix RHSA-2026:30050
-
Red Hat build of Keycloak 26.4.13fixed: vendor fix RHSA-2026:30049
-
Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9 26.6-6, rhbk/keycloak-rhel9-operator 26.6-6, rhbk/keycloak-operator-bundle 26.6.3-3fixed: vendor fix RHSA-2026:25097
-
Red Hat build of Keycloak 26.6.3fixed: vendor fix RHSA-2026:25098
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-server-spi-private | >=26.5.0, <26.6.3 <=26.4.7 |
26.6.3 |
| maven | org.keycloak:keycloak-services | >=26.5.0, <26.6.3 <=26.4.7 |
26.6.3 |
Affected products
- Red Hat Red Hat build of Keycloak 26.4
- Red Hat Red Hat build of Keycloak 26.4.13
- Red Hat Red Hat build of Keycloak 26.6
- Red Hat Red Hat build of Keycloak 26.6.3
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/keycloak/keycloak/pull/49541
web
-
github.com
/keycloak/keycloak/pull/49678
web
-
github.com
/keycloak/keycloak/pull/49680
web
-
github.com
/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225b
web
-
github.com
/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553df
web
-
github.com
/keycloak/keycloak/commit/f19e1f2b4e998116d4e321f50ecf99c0f87b862f
web
-
access.redhat.com
/errata/RHSA-2026:25097
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:25098
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:30049
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:30050
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2026-9791
vdb-entry, web, mitigation, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2482458
issue-tracking, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-9791
advisory
-
github.com
/keycloak/keycloak/issues/49431
web
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2026-9791
- GitHub Advisory GHSA-4q93-v92x-p89f
- NVD CVE-2026-9791
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.