Medium severity4.3NVD Advisory· Published May 28, 2026· Updated Jun 26, 2026
CVE-2026-9791
CVE-2026-9791
Description
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.
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-server-spi-privateMaven | >= 26.5.0, < 26.6.3 | 26.6.3 |
org.keycloak:keycloak-servicesMaven | >= 26.5.0, < 26.6.3 | 26.6.3 |
org.keycloak:keycloak-server-spi-privateMaven | <= 26.4.7 | — |
org.keycloak:keycloak-servicesMaven | <= 26.4.7 | — |
Affected products
4(expand)+ 1 more
- (no CPE)
- cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
Patches
Vulnerability mechanics
References
15- access.redhat.com/security/cve/CVE-2026-9791nvdMitigationVendor AdvisoryWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor AdvisoryWEB
- github.com/advisories/GHSA-4q93-v92x-p89fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-9791ghsaADVISORY
- access.redhat.com/errata/RHSA-2026:25097nvdWEB
- access.redhat.com/errata/RHSA-2026:25098nvdWEB
- access.redhat.com/errata/RHSA-2026:30049nvdWEB
- access.redhat.com/errata/RHSA-2026:30050nvdWEB
- github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225bghsaWEB
- github.com/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553dfghsaWEB
- github.com/keycloak/keycloak/commit/f19e1f2b4e998116d4e321f50ecf99c0f87b862fghsaWEB
- github.com/keycloak/keycloak/issues/49431ghsaWEB
- github.com/keycloak/keycloak/pull/49541ghsaWEB
- github.com/keycloak/keycloak/pull/49678ghsaWEB
- github.com/keycloak/keycloak/pull/49680ghsaWEB
News mentions
1- Keycloak: Twelve Vulnerabilities Disclosed, One High SeverityVypr Intelligence · May 28, 2026