CVE-2020-27826
MEDIUM 4.2CVSS 3.1Authentication Bypass in keycloak
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.
- Published
- 28 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-250
- Also known as
- GHSA-m9cj-v55f-8x26
- Sources
- NVDJSONOSV GHSA-m9cj-v55f-8x26JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.9 | AV:N/AC:M/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 12.0.0 | 12.0.0 |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* |
(no version) | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.4.4:*:*:*:*:*:*:* |
= 7.4.4 | |
| OSV | Maven | org.keycloak:keycloak-core | < 12.0.0 | 12.0.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1905089 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-27826 · ADVISORY
- https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72 · WEB
- https://access.redhat.com/security/cve/cve-2020-27826 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Mar 2022)