GHSA-hj93-h7pg-fh6v

Keycloak: Privilege escalation via forged authorization codes due to SingleUseObjectProvider isolation flaw

At a glance

Published
Updated
CVE
CVE-2026-4282
Aliases
BIT-keycloak-2026-4282
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

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.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, fixed 26.5.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database