# CVE-2021-20262: Keycloak Missing authentication for critical function

- Severity: Medium 6.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2021-03-09T17:19:20.000Z
- Modified: 2026-06-17T03:33:33.880Z
- Also known as: GHSA-xf46-8vvp-4hxx
- Weaknesses: CWE-306
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: Keycloak 12.0.0
- org.keycloak:keycloak-core (Maven): up to 12.0.4
- redhat keycloak: 12.0.0
- redhat single_sign-on: 7.0

## Every score

- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## 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)

## Sources

- CVE List: [CVE-2021-20262](https://www.cve.org/CVERecord?id=CVE-2021-20262), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-xf46-8vvp-4hxx](https://github.com/advisories/GHSA-xf46-8vvp-4hxx), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-20262](https://nvd.nist.gov/vuln/detail/CVE-2021-20262), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20262 · Whole record: https://cve.day/CVE-2021-20262.json · Rebuilt by cve.day 2026-11-25T22:58:00.190Z
