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

Published Apr 22, 2026
·
Updated

Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor 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. This issue affects Spring Security: from 7.0.0 through 7.0.4.

Affected Software

2 affected components
Spring Spring Security>=7.0.0<=7.0.4
VMware Spring Security>=7.0.0<7.0.5

Event History

Apr 22, 2026
CVE Published
via MITRE·05:08 AM
Data Sourced
via MITRE·05:08 AM
DescriptionSeverity
Data Sourced
via NVD·06: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-22747?

CVE-2026-22747 is categorized as a critical vulnerability due to its potential to allow unauthorized user impersonation.

2

How do I fix CVE-2026-22747?

To fix CVE-2026-22747, upgrade Spring Security to version 7.0.5 or later.

3

What impact does CVE-2026-22747 have on Spring Security?

CVE-2026-22747 can lead to the incorrect processing of X.509 certificate CN values, allowing attackers to impersonate legitimate users.

4

Who is affected by CVE-2026-22747?

Users of Spring Security versions from 7.0.0 to 7.0.4 are affected by CVE-2026-22747.

5

What are the symptoms of CVE-2026-22747 exploitation?

Exploitation of CVE-2026-22747 may result in unauthorized access, as attackers can deceive the system into recognizing them as legitimate users.

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