Keycloak-rhel9: organization data leak after feature disabled in keycloak
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.13-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-19 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-19 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.13 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6.3-3 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.3 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-server-spi-private (Maven) | 26.5.0 to before 26.6.3 | 26.6.3 | Patch available | GHSA-4q93-v92x-p89f |
| — | org.keycloak:keycloak-services (Maven) | 26.5.0 to before 26.6.3 | 26.6.3 | Patch available | GHSA-4q93-v92x-p89f |
| — | org.keycloak:keycloak-server-spi-private (Maven) | up to 26.4.7 | — | No fix listed | GHSA-4q93-v92x-p89f |
| — | org.keycloak:keycloak-services (Maven) | up to 26.4.7 | — | No fix listed | GHSA-4q93-v92x-p89f |
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.13-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
- Red Hat build of Keycloak 26.4.13 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.3-3 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-6 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-6 Patch available CNA
- Red Hat build of Keycloak 26.6.3 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-server-spi-private (Maven) Vendor— Affected 26.5.0 to before 26.6.3 Fixed in 26.6.3 Patch available GHSA-4q93-v92x-p89f
- org.keycloak:keycloak-services (Maven) Vendor— Affected 26.5.0 to before 26.6.3 Fixed in 26.6.3 Patch available GHSA-4q93-v92x-p89f
- org.keycloak:keycloak-server-spi-private (Maven) Vendor— Affected up to 26.4.7 Fixed in — No fix listed GHSA-4q93-v92x-p89f
- org.keycloak:keycloak-services (Maven) Vendor— Affected up to 26.4.7 Fixed in — No fix listed GHSA-4q93-v92x-p89f
Remediation
- Fix · GHSA-4q93-v92x-p89f org.keycloak:keycloak-server-spi-private (Maven) Fixed in 26.6.3 Advisory →
- Fix · GHSA-4q93-v92x-p89f org.keycloak:keycloak-services (Maven) Fixed in 26.6.3 Advisory →
Red Hat 4 advisories
- RHSA-2026:30050 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.13 Images Security Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:30049 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.13 Security Update
- Red Hat build of Keycloak 26.4.13
- RHSA-2026:25098 Released 2026-06-10 · Red Hat rating ModerateRed Hat build of Keycloak 26.6.3 Update
- Red Hat build of Keycloak 26.6.3
Show 1 more Red Hat advisories
- RHSA-2026:25097 Released 2026-06-10 · Red Hat rating ModerateRed Hat build of Keycloak 26.6.3 Images Update
- Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4.13 | Fixed | RHSA-2026:30049 |
| Red Hat build of Keycloak 26.6 | Fixed | RHSA-2026:25097 |
| Red Hat build of Keycloak 26.6.3 | Fixed | RHSA-2026:25098 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9791
- 2026-10-03 Alias added: GHSA-4q93-v92x-p89f
References
Advisory 7
Other 8
- https://github.com/keycloak/keycloak/issues/49431
- https://github.com/keycloak/keycloak/pull/49541
- https://github.com/keycloak/keycloak/pull/49678
- https://github.com/keycloak/keycloak/pull/49680
- https://github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225b
- https://github.com/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553df
- https://github.com/keycloak/keycloak/commit/f19e1f2b4e998116d4e321f50ecf99c0f87b862f
- https://github.com/keycloak/keycloak
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-9791 · CVE Program
- CVE-2026-9791 · NVD
- FIRST EPSS
- GHSA-4q93-v92x-p89f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-9791 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences