๐Ÿ” CVE Alert

CVE-2026-47838

MEDIUM 6.8

Unauthorized User Impersonation when Using X.509 Client Certificates

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

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. Affected versions: Spring Security 5.7.0 through 5.7.24; 5.8.0 through 5.8.26; 6.3.0 through 6.3.17; 6.4.0 through 6.4.17; 6.5.0 through 6.5.10.

CWE CWE-287
Vendor spring
Product spring security
Ecosystems
Industries
TechnologyEnterprise
Published Jun 9, 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
5.7.0 < 5.7.25 5.8.0 < 5.8.27 6.3.0 < 6.3.18 6.4.0 < 6.4.18 6.5.0 < 6.5.11

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
spring.io: https://spring.io/security/cve-2026-47838