SecurityContext

CVE-2026-4629: Keycloak - Privilege Escalation

  • Cve: CVE-2026-4629
  • Name: Keycloak - Privilege Escalation
  • Description: A flaw was found in Keycloak. A highly privileged user with `manage-clients` permission can exploit this vulnerability by injecting a hardcoded role mapper into any client. This action allows the user to bypass existing scope restrictions and inject the `realm-admin` role into generated tokens, resulting in privilege escalation and full administrative access to the realm.
  • Impact: A highly privileged user can escalate privileges to full administrative access of the realm.
  • Remediation: Update to the latest version with the fix applied.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must have manage-clients permission
  • 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.00486
  • Epss percentile: 0.42697
  • Assignee: [email protected]
  • Published at: 2026-06-30T13:18:59Z
  • Age in days: 147
  • Modified at: 2026-10-25T21:10:00Z
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4629
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-266Incorrect Privilege Assignment

Public exploits

UrlSourceAdded date
https://bugzilla.redhat.com/show_bug.cgi?id=2450244nvd2026-06-30

References

Same in every row:

  • Source: nvd
UrlTags
https://access.redhat.com/security/cve/CVE-2026-4629Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2450244Exploit, Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:50846
https://access.redhat.com/errata/RHSA-2026:50847
https://access.redhat.com/errata/RHSA-2026:50848

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

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