CVE-2021-20262
CVE-2021-20262 is a medium-severity vulnerability in Redhat Keycloak with a CVSS 3.x base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-306.
Key facts
- Severity: Medium (CVSS 3.x base score 6.8)
- CVSS v2: 4.6
- EPSS exploit prediction: 0% (25th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-306
- Affected product: Redhat Keycloak
- Published:
- Last modified:
Description
A flaw was found in Keycloak 12.0.0 where re-authentication does not occur while updating the password. This flaw allows an attacker to take over an account if they can obtain temporary, physical access to a user’s browser. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Frequently asked questions
- What is CVE-2021-20262?
- A flaw was found in Keycloak 12.0.0 where re-authentication does not occur while updating the password. This flaw allows an attacker to take over an account if they can obtain temporary, physical access to a user’s browser. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
- How severe is CVE-2021-20262?
- CVE-2021-20262 has a CVSS 3.x base score of 6.8, rated medium severity. It is exploitable over physical access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-20262 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-20262?
- CVE-2021-20262 primarily affects Redhat Keycloak. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-20262?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-20262 published?
- CVE-2021-20262 was published on 2021-03-09 and last updated on 2026-06-17.
References
Affected products (2)
- cpe:2.3:a:redhat:keycloak:12.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
More vulnerabilities in Redhat Keycloak
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
- CVE-2022-1245 — Critical (CVSS 9.8): A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client…
- CVE-2019-14910 — Critical (CVSS 9.8): A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used…
- CVE-2021-20195 — Critical (CVSS 9.6): A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete…
- CVE-2022-3782 — Critical (CVSS 9.1): keycloak: path traversal via double URL encoding. A flaw was found in Keycloak, where it does not properly validate…
- CVE-2019-14837 — Critical (CVSS 9.1): A flaw was found in keycloack before version 8.0.0. The owner of 'placeholder.org' domain can setup mail server on this…
All CVEs affecting Redhat Keycloak →
Other CWE-306 (Missing Authentication for Critical Function) vulnerabilities
- CVE-2026-54309 — Critical (CVSS 10.0): n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, when @n8n/mcp-browser is run in HTTP…
- CVE-2026-50242 — Critical (CVSS 10.0): In JetBrains Hub before 2026.1.13757, 2025.3.148033, 2025.2.148048, 2025.1.148120, 2024.3.148430, 2024.2.148429…
- CVE-2026-49257 — Critical (CVSS 10.0): mcp-pinot is a Python-based Model Context Protocol (MCP) server for interacting with Apache Pinot. In versions 3.0.1…
- CVE-2026-46846 — Critical (CVSS 10.0): Vulnerability in the Oracle WebCenter Portal product of Oracle Fusion Middleware (component: Security Framework).…
- CVE-2026-46803 — Critical (CVSS 10.0): Vulnerability in the Oracle WebCenter Portal product of Oracle Fusion Middleware (component: Security Framework).…
- CVE-2026-46800 — Critical (CVSS 10.0): Vulnerability in the Oracle WebCenter Sites product of Oracle Fusion Middleware (component: WebCenter Sites).…
Browse all CWE-306 (Missing Authentication for Critical Function) vulnerabilities →