CVE-2020-27826Redhat Keycloak
Medium 4.2
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 3.1
- 4.2
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 49
- Auth required
- Yes
- Published
- May 28, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-250
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-core |
< 12.0.0 |
12.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-m9cj-v55f-8x26). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | < 12.0.0 |
| redhat | single_sign-on | all |
| redhat | single_sign-on | 7.4 |
| redhat | single_sign-on | 7.4.4 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory