{"id":"CVE-2020-27826","published":"2021-05-28T10:20:30Z","modified":"2024-08-04T16:25:43Z","title":"A flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attributes using…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00572,"percentile":0.48186,"provenance":"source"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1905089","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":9.64}]},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["keycloak 12.0.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","vulnerableRanges":["<12.0.0"],"patched":["12.0.0"],"from":["GHSA-m9cj-v55f-8x26"],"provenance":"source"}],"summary":{"text":"A flaw in Keycloak before version 12.0.0 lets users update their own metadata attributes through the Account REST API. The flaw resides in that Account REST API component, which handles user metadata updates.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:20Z"},"euvd":{"id":"EUVD-2022-1472","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-build-of-keycloak-26-4-cve-2017-2582","children":[{"from":"CVE-2020-27826","to":"CVE-2021-3754","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/resources/admin/UserResource.java","services/src/main/java/org/keycloak/services/resources/admin/UsersResource.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/f9708037383aa98741e4850447de64dc4a0d4b4e"],"basis":"shared function","functions":["createUser"]}]},{"from":"CVE-2020-27826","to":"CVE-2022-1274","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/messages/Messages.java","services/src/main/java/org/keycloak/services/resources/admin/UserResource.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/fc3c61235fa30132123c17ed8702ff7b3a672fe9"],"basis":"shared function","functions":["Messages"]}]},{"from":"CVE-2020-27826","to":"CVE-2023-3597","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/messages/Messages.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/aa634aee882892960a526e49982806e103c8a432"],"basis":"shared function","functions":["Messages"]}]},{"from":"CVE-2020-27826","to":"CVE-2024-11736","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/resources/account/AccountRestService.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/7a76858fe4aa39a39fb6b86dd3d2c113d9c59854"],"basis":"rarely changed file"}]},{"from":"CVE-2020-27826","to":"CVE-2024-1722","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/resources/admin/UserResource.java","services/src/main/java/org/keycloak/services/resources/admin/UsersResource.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/f9708037383aa98741e4850447de64dc4a0d4b4e"],"basis":"shared function","functions":["createUser"]}]},{"from":"CVE-2020-27826","to":"CVE-2026-9791","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/services/messages/Messages.java","services/src/main/java/org/keycloak/services/resources/account/AccountRestService.java"],"commits":["https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72","https://github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225b","https://github.com/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553df"],"basis":"shared function","functions":["Messages"]}]}]}}