High severity · published Jun 9, 2026
CVE-2026-47838
Unauthorized User Impersonation when Using X.509 Client Certificates
8.1
CVSS
0.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SS
Spring Security · Spring
5.7.0 before 5.7.25; 5.8.0 before 5.8.27; 6.3.0 before 6.3.18; 6.4.0 before 6.4.18; 6.5.0 before 6.5.10.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-47838
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-47838
Vendor Advisory
https://spring.io/security/cve-2026-47838
More from Spring Security
9.1
CVE-2026-59270
Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces
8.1
CVE-2026-22747
Unauthorized User Impersonation when Using X.509 Client Certificates
8.1
CVE-2026-22733
Authentication Bypass under Actuator CloudFoundry endpoints
7.5
CVE-2026-40988
Unbounded DEFLATE Inflation in SAML 2.0 Service Provider
7.5
CVE-2026-22754
ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules
