# CVE-2026-9791: Keycloak-rhel9: organization data leak after feature disabled in keycloak

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-05-28T03:27:08.241Z
- Modified: 2026-10-26T12:10:00.130Z
- Also known as: GHSA-4q93-v92x-p89f
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.4.13-1 before *; from 26.6.3-3 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.4-19 before *; from 26.6-6 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.4-19 before *; from 26.6-6 before *)
- org.keycloak:keycloak-server-spi-private (Maven): from 26.5.0 before 26.6.3; up to 26.4.7
- org.keycloak:keycloak-services (Maven): from 26.5.0 before 26.6.3; up to 26.4.7
- redhat build_of_keycloak: no versions given

## Every score

- redhat: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2026:25097> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:25098> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30049> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30050> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-9791> (mitigation, vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2482458> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-9791> (advisory)
- <https://github.com/keycloak/keycloak/issues/49431> (web)
- <https://github.com/keycloak/keycloak/pull/49541> (web)
- <https://github.com/keycloak/keycloak/pull/49678> (web)
- <https://github.com/keycloak/keycloak/pull/49680> (web)
- <https://github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225b> (web)
- <https://github.com/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553df> (web)
- <https://github.com/keycloak/keycloak/commit/f19e1f2b4e998116d4e321f50ecf99c0f87b862f> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2026-9791](https://www.cve.org/CVERecord?id=CVE-2026-9791), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-4q93-v92x-p89f](https://github.com/advisories/GHSA-4q93-v92x-p89f), CC-BY-4.0, modified 2026-07-01
- NVD: [CVE-2026-9791](https://nvd.nist.gov/vuln/detail/CVE-2026-9791), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-9791 · Whole record: https://cve.day/CVE-2026-9791.json · Rebuilt by cve.day 2026-11-25T22:59:22.725Z
