REDHAT-BUG-2508304: Medium severity Keycloak keycloak-services vulnerability
An information disclosure vulnerability was identified in Keycloaks OIDC token introspection endpoint. This flaw is an incomplete fix for CVE-2026-37979. While the original fix correctly enforced audience checks by marking out-of-audience tokens as inactive, it failed to sanitize the jwt field in the response when JWT introspection responses are enabled. The vulnerability exists in the keycloak-services component. When a confidential client with the client.introspection.response.allow.jwt.claim.enabled attribute set to true requests an application/jwt response, the server includes a signed JWT representation of the token even if the audience check fails. An attacker who controls a confidential client in the same realm and obtains a valid access token issued for a different client can exploit this to: Recover sensitive claims and attributes from lightweight or opaque tokens. Bypass audience-based access control mechanisms intended to restrict introspection metadata. Access internal identity information (roles, groups, user attributes) they are not authorized to view.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
keycloak-servicesto a version that resolves this vulnerability.Patch CVE-2026-37979
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2508304?
The severity of REDHAT-BUG-2508304 is medium, rated at 4.
What does REDHAT-BUG-2508304 vulnerability affect?
REDHAT-BUG-2508304 affects the Keycloak OIDC token introspection endpoint.
How do I fix REDHAT-BUG-2508304?
To remediate REDHAT-BUG-2508304, ensure that you apply the latest patches and updates for Keycloak.
What kind of issue is REDHAT-BUG-2508304?
REDHAT-BUG-2508304 is an information disclosure vulnerability.
Is REDHAT-BUG-2508304 related to another CVE?
Yes, REDHAT-BUG-2508304 is an incomplete fix for CVE-2026-37979.