Intel

AIKIDO-2026-91957

keycloak-policy-enforcer is vulnerable to Authorization Bypass

CVE-2026-9800Published Jul 10, 2026
July 10, 2026

81

CVE Score

High

Authorization Bypass

Are you affected? Scan for Free

TL;DR

The Keycloak policy enforcer compares request URIs incorrectly when matching the configured access-denied page path. By placing that path inside a request URL as a path segment or query parameter, an authenticated user can make the enforcer treat protected requests as the public access-denied page. This bypasses all role, scope, and UMA permission checks and grants access to protected resources. The fix corrects the URI comparison so the access-denied path no longer disables enforcement.

How do I fix this?

Upgrade the org.keycloak:keycloak-policy-enforcer library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses the Keycloak policy enforcer with a configured access-denied page.

Versions

21.1.0 - 26.0.9

Fixed in 26.0.10

Background info

keycloak-policy-enforcer is vulnerable to Authorization Bypass in versions 21.1.0 - 26.0.9.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea