Keycloak: Privilege escalation via forged authorization codes due to SingleUseObjectProvider isolation flaw
High severity
GitHub Reviewed
Published
Apr 2, 2026
to the GitHub Advisory Database
•
Updated Apr 4, 2026
Description
Published by the National Vulnerability Database
Apr 2, 2026
Published to the GitHub Advisory Database
Apr 2, 2026
Reviewed
Apr 4, 2026
Last updated
Apr 4, 2026
A flaw was found in Keycloak. The SingleUseObjectProvider, a global key-value store, lacks proper type and namespace isolation. This vulnerability allows an unauthenticated attacker to forge authorization codes. Successful exploitation can lead to the creation of admin-capable access tokens, resulting in privilege escalation.
References