Red Hat build of Keycloak 26.4
Keycloak: keycloak: access token disclosure and implicit flow bypass via forged client data
A flaw was found in Keycloak. A low-privilege user, with knowledge of user credentials and client ID, can bypass a security control intended to disable the implicit flow in OpenID Connect (OIDC) clients. By manipulating client data during a session restart, an attacker can obtain an access token that should not be available. This vulnerability can also lead to the exposure of these access tokens in server logs, proxy logs, and HTTP Referrer headers, resulting in sensitive information disclosure.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 26.4.12-1
Fixed in 26.4-17
Fixed in 26.4-17
Mitigation
Upgrade Red Hat build of Keycloak 26.4 to 26.4.12-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-17 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-17 or later.
Workaround
To mitigate this issue, restrict network access to the Keycloak authentication endpoint to trusted clients and networks. Implement firewall rules to control inbound connections to the Keycloak service ports, thereby reducing the attack surface and limiting who can initiate authentication flows and potentially exploit the implicit flow bypass. If the Keycloak service is reloaded or restarted, ensure these network restrictions remain in effect.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:19596
- Vendor advisory access.redhat.com/errata/RHSA-2026:19597
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.