Duplicate Advisory: Authentication bypass via jwt algorithm confusion
Severity: high · CVSS 8.1 · Published 2026-06-26
### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-j97h-3f8r-mrjr. This link is maintained to preserve external references.
### Original Description
A flaw was found in Keycloak. This JWT algorithm confusion vulnerability in the JWT Authorization Grant flow allows an attacker with valid client credentials to bypass signature verification. By forging an assertion, the attacker can create unauthorized access tokens. This enables the attacker to impersonate any federated user linked to the affected Identity Provider, leading to unauthorized access and potential privilege escalation.
Yes. org.keycloak:keycloak-services (Maven): upgrade to 26.6.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run org.keycloak:keycloak-services (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.keycloak:keycloak-services (Maven): upgrade to 26.6.4 or later
# set org.keycloak:keycloak-services to 26.6.4 in your pom.xml or build.gradle