CVE-2021-20262
MEDIUM 6.8CVSS 3.1Keycloak Missing authentication for critical function
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.
- Published
- 9 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-306
- Also known as
- GHSA-xf46-8vvp-4hxx
- Sources
- NVDJSONOSV GHSA-xf46-8vvp-4hxxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:12.0.0:*:*:*:*:*:*:* |
= 12.0.0 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | Maven | org.keycloak:keycloak-core | <= 12.0.4 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1933639 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-20262 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Mar 2021)