Description
A flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attributes using Account REST API. This flaw allows an attacker to change its own NameID attribute to impersonate the admin user for any particular application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | keycloak | keycloak 12.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 9.0.10-1.redhat_00001.1.el6sso | RHSA-2020:5528, RHSA-2020:5527, RHSA-2020:5526 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-core | < 12.0.0 | 12.0.0 | GHSA-m9cj-v55f-8x26 |
Advisories 3
- RHSA-2020:5528 Red Hat Security Advisory: Red Hat Single Sign-On 7.4.4 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2020:5527 Red Hat Security Advisory: Red Hat Single Sign-On 7.4.4 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2020:5526 Red Hat Security Advisory: Red Hat Single Sign-On 7.4.4 security update on RHEL 6 Red Hat Security Advisories (RHSA) · Mar 18, 2026