CVE-2026-9791: Incorrect Authorization in Red Hat Red Hat build of Keycloak 26.4
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 Analysis
Technical Summary
The vulnerability CVE-2026-9791 affects Red Hat build of Keycloak 26.4 and involves incorrect authorization that allows an authenticated user with existing organization membership to obtain organization metadata through user-facing APIs or by requesting an OpenID Connect token with the 'organization' scope. This occurs even after the Organizations feature has been disabled by an administrator, potentially causing resource servers to make incorrect authorization decisions. The issue is documented with a CVSS 3.1 score of 4.3 (medium severity). The Red Hat advisory indicates new images for Keycloak 26.6.3 have been released which include security fixes for this and other vulnerabilities, but no explicit patch details for CVE-2026-9791 alone are provided. The advisory recommends updating to the new images and backing up existing installations before applying updates.
Potential Impact
An authenticated user with organization membership can access organization metadata in tokens and APIs despite the Organizations feature being disabled. This may lead to incorrect authorization decisions by resource servers relying on this metadata. The impact is limited to information disclosure with no direct integrity or availability impact reported.
Mitigation Recommendations
Red Hat has released updated Keycloak 26.6.3 images that include fixes for CVE-2026-9791 along with other vulnerabilities. Users should back up their existing installations and upgrade to these updated images as recommended in the Red Hat advisories (RHSA-2026:25097 and RHSA-2026:25098). Patch status is not explicitly confirmed for this CVE alone, but the vendor advisory indicates remediation is included in the new 26.6.3 release. Users should consult the official Red Hat advisory for detailed update instructions.
CVE-2026-9791: Incorrect Authorization in Red Hat Red Hat build of Keycloak 26.4
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.
CVSS v3.1
Score 4.3medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-9791 affects Red Hat build of Keycloak 26.4 and involves incorrect authorization that allows an authenticated user with existing organization membership to obtain organization metadata through user-facing APIs or by requesting an OpenID Connect token with the 'organization' scope. This occurs even after the Organizations feature has been disabled by an administrator, potentially causing resource servers to make incorrect authorization decisions. The issue is documented with a CVSS 3.1 score of 4.3 (medium severity). The Red Hat advisory indicates new images for Keycloak 26.6.3 have been released which include security fixes for this and other vulnerabilities, but no explicit patch details for CVE-2026-9791 alone are provided. The advisory recommends updating to the new images and backing up existing installations before applying updates.
Potential Impact
An authenticated user with organization membership can access organization metadata in tokens and APIs despite the Organizations feature being disabled. This may lead to incorrect authorization decisions by resource servers relying on this metadata. The impact is limited to information disclosure with no direct integrity or availability impact reported.
Mitigation Recommendations
Red Hat has released updated Keycloak 26.6.3 images that include fixes for CVE-2026-9791 along with other vulnerabilities. Users should back up their existing installations and upgrade to these updated images as recommended in the Red Hat advisories (RHSA-2026:25097 and RHSA-2026:25098). Patch status is not explicitly confirmed for this CVE alone, but the vendor advisory indicates remediation is included in the new 26.6.3 release. Users should consult the official Red Hat advisory for detailed update instructions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-05-28T03:07:29.305Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-9791","vendor":"Red Hat"}]
Threat ID: 6a1839bbe29bf47b50eaa21c
Added to database: 05/28/2026, 12:48:59 UTC
Last enriched: 06/26/2026, 12:22:25 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 122
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.