Advisory record · GHSA-32h4-44jj-c5vx

Keycloak has privilege escalation via improper scope mapping enforcement

CVSS 7.3 HighEPSS 0.0035 · 29th percentile

Published by the GitHub Advisory Database at 1 Jul 2026, 21:20 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.keycloak:keycloak-servicesMaven<26.6.426.6.4
Identifiers
GHSA-32h4-44jj-c5vx · CVE-2026-9795
Weakness (CWE)
CWE-266
Published
1 Jul 2026
Updated
1 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Keycloak (org.keycloak:keycloak-services, Maven) versions before 26.6.4 are vulnerable. An administrator with limited client management permissions under Fine-Grained Admin Permissions (FGAPv2) can assign any realm role, including highly privileged ones, to a client's scope mapping, so that role appears in tokens issued to users accessing that client, enabling privilege escalation within the realm. Upgrade to 26.6.4 or later.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.3 High 3.1 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N CNA (redhat)
  • CISA KEV Not listed.
  • EPSS 0.0035, the 29th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.