What’s Vulnerable › Vulnerabilities
CVE-2026-22747: Unauthorized User Impersonation when Using X.509 Client Certificates
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-26
- Weakness: CWE-297
Description
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 products
- Spring Security: from 7.0.0 before 7.0.5 — fixed in 7.0.5
- Spring Security: from 7.0.0 through 7.0.4
How to fix
Upgrade to a fixed version: Spring Security 7.0.5. Check the vendor advisory for mitigations.
References
- https://spring.io/security/cve-2026-22747
- https://access.redhat.com/security/cve/CVE-2026-22747
- https://bugzilla.redhat.com/show_bug.cgi?id=2460487
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json
Get alerted when CVE-2026-22747 or the next vulnerability affects your stack