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:
22/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.

References to Advisories, Solutions, and Tools