LiveActive security incident?Get immediate response
CVE Record

CVE-2020-27826: A flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attri...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Keycloak before 12.0.0 allowed a user to change certain account metadata through the Account REST API. The reported impact is serious: a user could set their own NameID attribute to impersonate an admin user for a particular application.

Executive priority

Treat as high priority where Keycloak backs business applications with privileged roles. The main business risk is unauthorized application-level admin impersonation, not broad infrastructure compromise shown by these sources.

Technical view

The issue is described as improper privilege handling around Account REST API metadata updates. A user could modify their own NameID attribute, affecting identity assertions consumed by an application and enabling admin impersonation in that application context.

Likely exposure

Exposure is likely limited to Keycloak deployments before 12.0.0 that allow affected Account REST API metadata behavior and use NameID-dependent application authorization or identity mapping.

Exploitation context

The provided sources do not show CISA KEV listing, active exploitation, public exploit code, or exploitation volume. Exploitability depends on application reliance on mutable NameID metadata.

Researcher notes

Evidence is sparse: no CVSS, no detailed advisory text, and only one Red Hat Bugzilla reference is provided. Validate affected version boundaries and fixed builds against vendor records before asserting scope.

Mitigation direction

  • Confirm whether any Keycloak deployment is before version 12.0.0.
  • Upgrade affected Keycloak instances following vendor guidance.
  • Review applications that map privileges from NameID values.
  • Restrict account metadata changes where vendor-supported controls exist.
  • Check Red Hat advisories for exact fixed versions and backports.

Validation and detection

  • Inventory Keycloak versions across production and non-production environments.
  • Review whether applications trust NameID for admin identity mapping.
  • Audit Account REST API account metadata change history if logs exist.
  • Confirm upgraded instances no longer allow unsafe NameID self-modification.
  • Check for accounts whose NameID unexpectedly matches privileged users.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-250: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-27826 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/akeycloakkeycloak 12.0.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-250 · source CWE mapping

Execution with Unnecessary Privileges

Execution with Unnecessary Privileges represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.