Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid confidential client credentials
-
DeliveryAcquire a bearer token issued for a different audience
-
ExploitPOST token to /token/introspect endpoint with client credentials
-
ExecutionReceive 'active: false' status alongside full signed JWT claims
-
ImpactExtract sensitive user attributes from JWT payload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions to align simultaneously: (1) the Keycloak deployment must have at least one confidential client configured to receive signed JWT introspection responses - this is a non-default client-level setting that must be explicitly enabled; (2) the attacker must possess valid client credentials (client_id and client_secret) for such a confidential client, satisfying the PR:L requirement in the CVSS vector; (3) the attacker must have access to a bearer token originally issued for a different client or audience to submit to the introspection endpoint. Exploitation is limited to confidential clients that can authenticate to Keycloak - anonymous or public clients cannot exploit this flaw. Deployments where all clients are within a single trusted organizational boundary face lower practical risk than multi-tenant environments where different organizations share a Keycloak realm. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) scores 6.5 Medium, which accurately reflects the threat model: network-reachable, low complexity, but requiring low-privilege access (a valid confidential client credential set). The high Confidentiality impact is appropriate given that full JWT claims - which may include roles, group memberships, email, and custom attributes - are exposed to an unauthorized party. Integrity and Availability are correctly scored N, as this is a pure information disclosure. No EPSS score was provided in the source data, preventing probabilistic exploitation likelihood assessment. The vulnerability is not listed in CISA KEV and no POC has been identified, suggesting no confirmed opportunistic or widespread exploitation at time of analysis. The real-world risk is notably constrained: exploitation requires an already-authenticated confidential client (with valid client_id and client_secret) and a Keycloak deployment specifically configured to issue signed JWT introspection responses - a non-default configuration. In environments where all clients are trusted internal services this risk is substantially lower; in multi-tenant or partner-facing Keycloak deployments it becomes a meaningful cross-tenant data exposure. The CVSS score of 6.5 is reasonable and not inflated relative to realistic exploitability. |
| Exploit ScenarioDerived | An attacker operating as a legitimate confidential client in a shared Keycloak realm - for example, a SaaS tenant application with valid client credentials - submits a token originally issued to a different client (obtained via other means, such as a leaked log entry or shared storage) to the token introspection endpoint. Despite receiving an 'active: false' response indicating the token is not valid for their audience, the signed JWT body in the response still contains the full token claims of the target user, including roles, email address, and custom attributes. No public proof-of-concept exploit has been identified, but the attack requires only a standard HTTPS POST to a well-documented OIDC endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 31, 2026
Keycloak's OIDC token introspection endpoint incorrectly discloses the full set of JWT claims to confidential clients inspecting tokens that were not issued for them. Any confidential client configured to receive signed JWT introspection responses can submit a foreign token, receive an 'inactive' status confirmation, and simultaneously receive the complete signed JWT payload containing sensitive user attributes and claims - effectively bypassing the audience isolation that OIDC introspection is designed to enforce. No active exploitation has been confirmed (not listed in CISA KEV), and no public proof-of-concept code has been identified at time of analysis, but the low attack complexity and network accessibility via a standard API endpoint make this a meaningful confidentiality risk in multi-tenant or multi-client Keycloak deployments.
RemediationAI
Consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-18208 for vendor-released patch availability; no specific fixed version number is confirmed in the data available at time of analysis. Until a patch is applied, organizations should assess whether the signed JWT introspection response format is required for any confidential client - if not, disabling signed JWT introspection responses for all clients eliminates this specific attack surface with minimal functional impact. Additionally, restrict token introspection endpoint access (typically /realms/{realm}/protocol/openid-connect/token/introspect) to only explicitly authorized internal service accounts via network policy or Keycloak client authorization policies, reducing the pool of principals capable of exploiting cross-audience claim disclosure. In multi-tenant deployments where confidential clients belong to different trust domains, consider isolating them into separate Keycloak realms to enforce hard audience boundaries at the realm level rather than relying solely on endpoint-level checks.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak implements OAuth 2.0 Token Introspection (RFC 7662) within its keycloak-services component. When a confidential client is configured to receive signed JWT introspection responses - a non-default but supported Keycloak feature - the endpoint is expected to return only the 'active: false' indicator for tokens belonging to different audiences. CWE-862 (Missing Authorization) describes the root cause: the authorization check determining whether to suppress claim data in the signed JWT wrapper is absent or incomplete, allowing the JWT claims sub-object to be populated even when the token is flagged inactive for the requesting client. Affected products per CPE data include cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_data_grid_8, cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack, and cpe:2.3:a:red_hat:red_hat_single_sign-on_7. CPE version ranges are all wildcards, meaning no specific fixed version boundary is disclosed in the available data.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PR:L reflects mandatory confidential client authentication; C:H reflects full JWT claim exposure; I:N and A:N because no write or availability impact exists.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the OIDC token introspection endpoint of the keycloak-services component. Keycloak is an open-source identity and access management solution used to secure modern applications and services. The issue occurs when a confidential client, configured to receive signed JWT introspection responses, attempts to introspect a token issued for a different audience. Although the endpoint correctly identifies the token as inactive for that client, it still returns the full set of token claims within a signed JWT field. This allows an unauthorized client to bypass audience-based restrictions and access sensitive information contained in the token.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-51482
GHSA-jg59-c35g-76r8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB