CVE-2026-9795: Keycloak: keycloak: privilege escalation via improper scope mapping enforcement

Published May 28, 2026
·
Updated

A flaw was found in Keycloak's Fine-Grained Admin Permissions (FGAPv2) feature. An administrator with limited client management permissions can exploit this vulnerability to assign any realm role, including highly privileged roles, to a client's scope mapping. This bypasses intended security controls, allowing the injected role to be projected into a user's authentication token when they access the modified client. This could lead to unauthorized privilege escalation within the Keycloak realm.

Affected Software

2 affected components
Keycloak Keycloak
redhat Build Of Keycloak

Event History

May 28, 2026
Data Sourced
via Red Hat·03:18 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:49 AM
Data Sourced
via MITRE·03:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9795?

The severity of CVE-2026-9795 is classified as high, with a score of 7.3.

2

How can CVE-2026-9795 be exploited?

CVE-2026-9795 can be exploited by an administrator with limited client management permissions to assign any realm role to a client's scope mapping.

3

What software is affected by CVE-2026-9795?

CVE-2026-9795 affects Keycloak, particularly its Fine-Grained Admin Permissions (FGAPv2) feature.

4

How do I fix CVE-2026-9795?

To fix CVE-2026-9795, upgrade to the latest version of Keycloak that addresses this vulnerability.

5

What are the potential impacts of CVE-2026-9795?

The potential impacts of CVE-2026-9795 include unauthorized privilege escalation and bypassing intended security controls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203