Keycloak Implicit Flow Bypass and Access Token Disclosure Vulnerability

Vulnerability

A vulnerability in Keycloak allows low-privilege users to bypass security controls that disable implicit flow in OpenID Connect (OIDC) clients. By manipulating client data during a session restart, an attacker can obtain access tokens that should not be available. This issue also risks exposing these tokens in server logs, proxy logs, and HTTP Referrer headers, leading to unauthorized disclosure of sensitive information.

Impact

Exploitation of this vulnerability allows for unauthorized access to implicit flow access tokens, which can be disclosed through various logging mechanisms, including server logs, proxy logs, and HTTP Referrer headers.

Remediation

To mitigate this vulnerability, 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, reducing the attack surface. Ensure that these network restrictions remain in effect after reloading or restarting the Keycloak service.

Added: May 19, 2026, 12:19 PM
Updated: May 19, 2026, 12:19 PM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
2.5
exploitability
5.4
remediation
0.0
relevance
8.7
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.