CVE-2026-11800: Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion

Published Jun 9, 2026
·
Updated

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.

Other sources

A JWT algorithm confusion vulnerability was found in Keycloak's JWT Authorization Grant flow . A flaw in the signature verification logic allows an attacker with valid client credentials to submit a forged assertion using alg=HS256 with the Identity Provider's public key bytes as the HMAC secret, bypassing asymmetric signature verification. This enables the attacker to mint access tokens and impersonate any federated user linked to the affected IdP. The vulnerability requires an IdP configured with jwtAuthorizationGrantEnabled=true, a hardcoded public key (useJwksUrl=false), and no pinned assertion signature algorithm (the default).

Red Hat

Affected Software

2 affected components
Keycloak Keycloak
redhat Build Of Keycloak>=26.6<26.6.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable the JWT Authorization Grant flow by setting jwtAuthorizationGrantEnabled=false on the configured IdP, since the vulnerability requires jwtAuthorizationGrantEnabled=true.

    Keycloak JWT Authorization Grant (IdP / Federation) jwtAuthorizationGrantEnabled = false
  2. Configuration

    If the IdP is configured with useJwksUrl=false (hardcoded public key bytes), update the IdP configuration so it is not using the vulnerable setup (the described attack scenario requires useJwksUrl=false).

    Keycloak JWT Authorization Grant (IdP / JWKS configuration) useJwksUrl = false
  3. Compensating control

    Configure/pin the assertion signature algorithm instead of leaving the default (no pinned assertion signature algorithm); the vulnerability description notes that the attack requires 'no pinned assertion signature algorithm (the default)'.

Event History

Jun 9, 2026
Data Sourced
via Red Hat·02:09 PM
DescriptionSeverityAffected Software
Jun 25, 2026
CVE Published
via MITRE·08:57 PM
Data Sourced
via MITRE·08:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11800?

The severity of CVE-2026-11800 is rated as high, with a CVSS score of 8.1.

2

How do I fix CVE-2026-11800?

To fix CVE-2026-11800, update your Keycloak installation to the latest version where the vulnerability has been patched.

3

What does CVE-2026-11800 exploit?

CVE-2026-11800 exploits a JWT algorithm confusion vulnerability in the JWT Authorization Grant flow.

4

What impact does CVE-2026-11800 have on security?

CVE-2026-11800 allows an attacker to bypass signature verification and create unauthorized access tokens.

5

Who is affected by CVE-2026-11800?

Organizations using Keycloak for authentication that employ JWTs are affected by CVE-2026-11800.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203