A AegiFlow
MEDIUMCVSS 6.5EPSS 0.2%

CVE-2026-9796

CVE-2026-9796 updated by NVD

Published
2026-05-28
Modified
2026-09-17
EPSS percentile
13%
Sources
github-advisory, nvd

Summary

A flaw was found in Keycloak. An authenticated administrator with the `manage-clients` role can exploit a Time-of-check to time-of-use (TOCTOU) vulnerability in the name-based admin role checks. This allows the attacker to escalate their privileges to `realm-admin` for all users within the realm, granting them extensive control over the system. The composite role relationship persists even after the attacker's own permissions are revoked and across system reboots.

Affected packages

EcosystemPackageAffected versionsFixed versions
Mavenorg.keycloak:keycloak-server26.6.4

Remediation: Upgrade to 26.6.4 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.