Security mailing lists by PureSourceCode

CVE-2026-4629

MEDIUM 6.5CVSS 3.1

Keycloak: keycloak: privilege escalation through hardcoded role mapper injection

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.

Published
30 Jun 2026
Last modified
25 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-266
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVE List redhat CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat build_of_keycloak
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:*:*:*:*
(no version)
CVE List https://github.com/keycloak/keycloak keycloak <= 26.2.16; >= 26.3.0, <= 26.3.5; >= 26.4.0, < 26.4.14; >= 26.5.0, <= 26.5.7; >= 26.6.0, < 26.6.5; >= 26.7.0, < 26.7.1 26.4.14, 26.6.5, 26.7.1
CVE List https://catalog.redhat.com/software/containers/ rhbk/keycloak-operator-bundle
cpe:/a:redhat:build_keycloak:26.4::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ rhbk/keycloak-rhel9
cpe:/a:redhat:build_keycloak:26.4::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ rhbk/keycloak-rhel9-operator
cpe:/a:redhat:build_keycloak:26.4::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ rhbk/keycloak-rhel9
cpe:/a:redhat:build_keycloak:26.4::el9
CVE List Red Hat Red Hat build of Keycloak 26.6.5
cpe:/a:redhat:build_keycloak:26.6::el9

References

History

  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 30 Jun 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 30 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.