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.
Fix
Public exploits 2
- gsadagopan/cve-2026-22747-sandbox PoC on GitHub
- yakissa/CVE-2026-22747 PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 1
- https://spring.io/security/cve-2026-22747 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.1 · vmwareNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*