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.0011
EPSS Percentile 1.8%
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 (5)
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.11
Published Jun 10, 2026
Tracked Since Jun 10, 2026