CVE-2026-47838

MEDIUM

Unauthorized User Impersonation when Using X.509 Client Certificates

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1

Scores

CVSS v3 6.8
EPSS 0.0012
EPSS Percentile 1.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-287
Status published
Products (12)
org.springframework.security/spring-security-web 0 - 5.7.14Maven
org.springframework.security/spring-security-web 5.8.0 - 5.8.16Maven
org.springframework.security/spring-security-web 6.0.0 - 6.3.10Maven
org.springframework.security/spring-security-web 6.4.0 - 6.4.13Maven
org.springframework.security/spring-security-web 6.5.0 - 6.5.11Maven
Spring/Spring Security 5.7.0 - 5.7.25
Spring/Spring Security 5.8.0 - 5.8.27
Spring/Spring Security 6.3.0 - 6.3.18
Spring/Spring Security 6.4.0 - 6.4.18
Spring/Spring Security 6.5.0 - 6.5.10.2
... and 2 more
Published Jun 10, 2026
Tracked Since Jun 10, 2026