CVE-2026-22747
Unauthorized User Impersonation when Using X.509 Client Certificates
CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | spring |
| Product | spring security |
| Ecosystems | |
| Industries | TechnologyEnterprise |
| Published | Apr 22, 2026 |
Stay Ahead of the Next One
Get instant alerts for spring spring security
Be the first to know when new medium vulnerabilities affecting spring spring security are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
Spring / Spring Security
7.0.0 ≤ 7.0.4