CVE-2026-22747

Severity CVSS v4.0:
Pending analysis
Type:
CWE-297 Improper Validation of Certificate with Host Mismatch
Publication date:
22/04/2026
Last modified:
24/04/2026

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.<br /> This issue affects Spring Security: from 7.0.0 through 7.0.4.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* 7.0.0 (including) 7.0.5 (excluding)


References to Advisories, Solutions, and Tools