CVE-2021-20262 json
Keycloak Missing authentication for critical function
published 2021-03-09 5 y ago modified 2026-06-17 4 mo ago also GHSA-xf46-8vvp-4hxx , EUVD-2021-0724
- cvss
- 6.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- keycloak Arch Linux 16.0.0-1
arch linux advisories AVG-1332
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-20262 updated cvss 6.8
keycloak: missing re-authentication while updating password
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloakaffected: no fix available
-
Red Hat Decision Manager 7 keycloak keycloak Red Hat Fuse 7 keycloak keycloak Red Hat Integration Camel K 1 keycloak keycloak Red Hat OpenShift Application Runtimes keycloak keycloak Red Hat Process Automation 7 keycloak keycloak Red Hat support for Spring Boot keycloak keycloaknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.8 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | <=12.0.4 |
no fix listed |
Affected products
- n/a keycloak
Classification
- Weakness
-
- CWE-306 Missing Authentication for Critical Functionality
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1933639
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-20262
advisory
Sources
- CVE List CVE-2021-20262
- GitHub Advisory GHSA-xf46-8vvp-4hxx
- NVD CVE-2021-20262
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.