Unauthorized User Impersonation when Using X.509 Client Certificates
cve-program · CVE-2026-22747
PublishedVulnerability 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-22747 · CVE overview and exploitation status
cve-program · CVE-2026-22747
Related changes
Linked by CVE identifierNo related changes are available here.