CVE-2026-22747: Unauthorized User Impersonation when Using X.509 Client Certificates
Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate, this can lead to an attacker impersonating another user. This issue affects Spring Security: from 7.0.0 through 7.0.4.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22747?
CVE-2026-22747 is categorized as a critical vulnerability due to its potential to allow unauthorized user impersonation.
How do I fix CVE-2026-22747?
To fix CVE-2026-22747, upgrade Spring Security to version 7.0.5 or later.
What impact does CVE-2026-22747 have on Spring Security?
CVE-2026-22747 can lead to the incorrect processing of X.509 certificate CN values, allowing attackers to impersonate legitimate users.
Who is affected by CVE-2026-22747?
Users of Spring Security versions from 7.0.0 to 7.0.4 are affected by CVE-2026-22747.
What are the symptoms of CVE-2026-22747 exploitation?
Exploitation of CVE-2026-22747 may result in unauthorized access, as attackers can deceive the system into recognizing them as legitimate users.