SecurityContext

CVE-2026-12388: Keycloak - Broken Access Control

  • Cve: CVE-2026-12388
  • Name: Keycloak - Broken Access Control
  • Description: 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.
  • Impact: Restricted administrators can escalate privileges to gain full control over the realm, compromising the entire system.
  • Remediation: Update to the latest version of Keycloak containing the fix.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs limited administrator permissions to manage identity providers
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00471
  • Epss percentile: 0.41239
  • Assignee: [email protected]
  • Published at: 2026-06-30T13:17:08Z
  • Age in days: 147
  • Modified at: 2026-11-06T18:18:06Z
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-12388
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-266Incorrect Privilege Assignment

References

Same in every row:

  • Source: nvd
UrlTags
https://access.redhat.com/security/cve/CVE-2026-12388Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2489140Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:95761
https://access.redhat.com/errata/RHSA-2026:95762

Products

ProductAffectedPlatform boundSourcesUrl
redhat:build_of_keycloakall versionsnonvd/v1/products/redhat/build_of_keycloak

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts