Missing authentication in keycloak
Key facts
- Attack vector
- Physical
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-306.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | Keycloak 12.0.0 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-core (Maven) | up to 12.0.4 | — | No fix listed | GHSA-xf46-8vvp-4hxx |
- keycloak Vendor— Affected Keycloak 12.0.0 Fixed in — No fix listed CNA
- org.keycloak:keycloak-core (Maven) Vendor— Affected up to 12.0.4 Fixed in — No fix listed GHSA-xf46-8vvp-4hxx
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7 | Affected | No fix yet |
Not affected: 6 products
- Red Hat Decision Manager 7
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
- Red Hat OpenShift Application Runtimes
- Red Hat Process Automation 7
- Red Hat support for Spring Boot
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20262
- 2026-10-03 Alias added: GHSA-xf46-8vvp-4hxx
References
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2021-20262 · CVE Program
- CVE-2021-20262 · NVD
- FIRST EPSS
- GHSA-xf46-8vvp-4hxx · GitHub Advisory Database · CC BY 4.0
- CVE-2021-20262 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences