{"id":"CVE-2020-27826","aliases":["CVE-2020-27826","GHSA-m9cj-v55f-8x26"],"related":[],"kind":"vulnerability","state":"published","title":"Authentication Bypass in keycloak","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en Keycloak versiones anteriores a 12.0.0, donde es posible actualizar los atributos de metadatos del usuario usando la API REST de la cuenta.&#xa0;Este fallo permite a un atacante cambiar su propio atributo NameID para hacerse pasar por el usuario administrador de cualquier aplicación en particular","source":"nvd"}],"published":"2021-05-28T10:20:30.000Z","modified":"2026-06-17T03:09:41.610Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-250"],"affected":[{"ranges":[{"version":"keycloak 12.0.0","status":"affected"}],"product":"keycloak","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.0.0"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"12.0.0"}],"vendor":"redhat","product":"keycloak","cpe":"cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.4"},{"status":"affected","version":"7.4.4"}],"vendor":"redhat","product":"single_sign-on","cpe":"cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1905089","tags":["issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27826","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","tags":["web"],"sources":["ghsa"]},{"url":"https://access.redhat.com/security/cve/cve-2020-27826","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-27826","url":"https://www.cve.org/CVERecord?id=CVE-2020-27826","licence":"CVE Terms of Use","modified":"2024-08-04T16:25:43.149Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m9cj-v55f-8x26","url":"https://github.com/advisories/GHSA-m9cj-v55f-8x26","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:22.491Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-27826","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27826","licence":"Public domain","modified":"2026-06-17T03:09:41.610Z"}],"updatedAt":"2026-11-25T22:57:57.987Z","epss":{"score":0.00572,"percentile":0.4864,"date":"2026-12-01T12:00:22.000Z"}}