CVE-2021-20262: A flaw was found in Keycloak 12.0.0 where re-authentication does not occur while updating the password
CVE-2021-20262 is a medium-severity flaw (CVSS 6.8) affecting keycloak, single sign-on. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.8 (Medium) |
| Attack vector | Physical |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 74%) |
| CISA exploited list | No |
| Weakness | CWE-306 |
| Published | 2021-03-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-20262?
keycloak: downgrade or apply the listed mitigation; single sign-on: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-20262 being exploited?
CVE-2021-20262 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-20262 affect?
CVE-2021-20262 affects keycloak, single sign-on. Severity is medium (CVSS 6.8). 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 thre
How urgent is CVE-2021-20262?
Priority 35/100. On your watchlist
Software pages
Related CVEs
- CVE-2023-6927 MEDIUM 4.6 MITIGATE DOWNGRADE A flaw was found in Keycloak
- CVE-2023-6563 HIGH 7.7 UPGRADE DOWNGRADE An unconstrained memory consumption vulnerability was discovered in Keycloak
- CVE-2023-6291 HIGH 7.1 UPGRADE DOWNGRADE A flaw was found in the redirect_uri validation logic in Keycloak
- CVE-2023-6134 MEDIUM 4.6 UPGRADE UPGRADE A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is app
- CVE-2025-8419 MEDIUM 5.3 MITIGATE A vulnerability was found in Keycloak-services