CVE-2026-47838: Unauthorized User Impersonation when Using X.509 Client Certificates

Published Jun 9, 2026
·
Updated

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.

Affected Software

6 affected components
Spring Spring Security>=5.7.0<=5.7.24, >=5.8.0<=5.8.26, >=6.3.0<=6.3.17, >=6.4.0<=6.4.17, >=6.5.0<=6.5.10
VMware Spring Security<5.7.25
VMware Spring Security>=5.8.0<5.8.27
VMware Spring Security>=6.3.0<6.3.18
VMware Spring Security>=6.4.0<6.4.18
VMware Spring Security>=6.5.0<6.5.11

Event History

Jun 9, 2026
CVE Published
via MITRE·11:50 PM
Data Sourced
via MITRE·11:50 PM
DescriptionSeverityWeakness
Jun 10, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-47838?

The severity of CVE-2026-47838 is rated as medium with a score of 6.8.

2

How do I fix CVE-2026-47838?

To fix CVE-2026-47838, you should upgrade to the latest version of Spring Security where this vulnerability has been addressed.

3

What impact does CVE-2026-47838 have on my system?

CVE-2026-47838 allows unauthorized user impersonation due to improper handling of malformed X.509 certificate CN values.

4

Who is affected by CVE-2026-47838?

Users of Spring Security version 5.7.0 and potentially other affected versions are at risk of CVE-2026-47838.

5

What does CVE-2026-47838 exploit?

CVE-2026-47838 exploits the SubjectDnX509PrincipalExtractor's failure to correctly process certain malformed X.509 certificate CN values.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203