# CVE-2020-27826: Authentication Bypass in keycloak

- Severity: Medium 4.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2021-05-28T10:20:30.000Z
- Modified: 2026-06-17T03:09:41.610Z
- Also known as: GHSA-m9cj-v55f-8x26
- Weaknesses: CWE-250
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: keycloak 12.0.0
- org.keycloak:keycloak-core (Maven): before 12.0.0
- redhat keycloak: before 12.0.0
- redhat single_sign-on: 7.4; 7.4.4

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.9 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:N`

## 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)

## Sources

- CVE List: [CVE-2020-27826](https://www.cve.org/CVERecord?id=CVE-2020-27826), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-m9cj-v55f-8x26](https://github.com/advisories/GHSA-m9cj-v55f-8x26), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-27826](https://nvd.nist.gov/vuln/detail/CVE-2020-27826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27826 · Whole record: https://cve.day/CVE-2020-27826.json · Rebuilt by cve.day 2026-11-25T22:57:57.987Z
