spring-security-web is vulnerable to Improper Validation of Certificate with Host Mismatch
68
CVE Score
Medium
Improper Validation of Certificate with Host Mismatch
This CVE is a continuation of CVE-2026-22747, which addressed this same issue for Spring Security 7.0.x. SubjectDnX509PrincipalExtractor 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.
Upgrade the org.springframework.security:spring-security-web library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 6.5.10
Fixed in 6.5.11spring-security-web is vulnerable to Improper Validation of Certificate with Host Mismatch in versions 0.0.1 - 6.5.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.