CVE-2026-12388
mediumpriority · track · 0EPSS 0.004 · 35 %ileDEEUUSEPSS · scored 2026-10-27
A flaw was found in the Identity Provider (IdP) mapper component of Keycloak, which is used to manage how user information from external services is mapped to Keycloak users. An administrator with limited permissions to manage identity providers can exploit this flaw by creating a "Hardcoded Role" mapper that assigns high-level administrative roles (like realm-admin) to themselves or others. This allows a restricted administrator to bypass security checks and gain full control over the entire realm.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2145Keycloak: Mehrere SchwachstellenDeutsch2026-06-30csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Keycloak ausnutzen, um Administratorrechte zu erlangen, Sicherheitsmaßnahmen zu umgehen und vertrauliche Informationen offenzulegen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-12388cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2489140cnnvd
- https://access.redhat.com/security/cve/CVE-2026-12388enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2489140enisa_euvd
- https://access.redhat.com/security/cve/CVE-2026-12388Vendor Advisorynvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2489140Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan