Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-27826
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:12 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-27826
Complete source record
{
"id": "3b01ce08ad86727cc24ce351d0e60f5bcca03896756357419a39c21c36d1730a",
"url": "https://osv.dev/vulnerability/CVE-2020-27826",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-27826",
"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.",
"evidence": "osv:CVE-2020-27826",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-27826",
"aliases": [
"CVE-2020-27826",
"GHSA-m9cj-v55f-8x26"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/keycloak/keycloak",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2690229863ddbcdfa2c75e00a7a9858e2e03c6c9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "12.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.4.0.Test",
"1.3.0.Final",
"1.1.0.Beta2",
"1.0.0.Final",
"1.0-final",
"1.0-rc-1",
"1.0-beta-4",
"1.0-beta-2",
"1.0-beta-1",
"1.0-alpha-3",
"1.0-alpha-2",
"1.0-alpha-1",
"1.0-alpha-1-12062013"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27826.json"
}
}
],
"modified": "2026-10-24T10:30:14.624968540Z",
"provider": "osv",
"references": [
"https://bugzilla.redhat.com/show_bug.cgi?id=1905089"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:redhat:single_sign-on:7.4.4:*:*:*:*:*:*:*",
"cpe:2.3:a:redhat:single_sign-on:7.4:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:single_sign-on",
"extracted_events": [
{
"range": [
{
"introduced": "7.4"
},
{
"last_affected": "7.4"
},
{
"introduced": "7.4.4"
},
{
"last_affected": "7.4.4"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-27826",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429086,
"published_at": "2021-05-28T11:15:07.67+00:00"
}