Unauthorized User Impersonation when Using X.509 Client Certificates
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Security | 7.0.0 – 7.0.4 | — | No fix listed | CNA |
| — | org.springframework.security:spring-security-web (Maven) | 7.0.0 to before 7.0.5 | 7.0.5 | Patch available | GHSA-2jrg-rf5x-568g |
- Spring Security VendorVMware Affected 7.0.0 – 7.0.4 Fixed in — No fix listed CNA
- org.springframework.security:spring-security-web (Maven) Vendor— Affected 7.0.0 to before 7.0.5 Fixed in 7.0.5 Patch available GHSA-2jrg-rf5x-568g
Remediation
- Fix · GHSA-2jrg-rf5x-568g org.springframework.security:spring-security-web (Maven) Fixed in 7.0.5 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 12 products
- OpenShift Developer Tools and Services
- Red Hat Data Grid 8
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift Dev Spaces
- Red Hat Process Automation 7
- Red Hat Single Sign-On 7
- Red Hat build of Apache Camel - HawtIO 4
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22747
- 2026-10-03 Alias added: GHSA-2jrg-rf5x-568g
References
More VMware Spring Security vulnerabilities
- TI-2023-16900 Improper access control in Spring Security CVSS 3.1CRITICAL 9.8
- TI-2022-13611 Authorization bypass in Spring by VMware CVSS 3.1CRITICAL 9.8
- TI-2022-07154 Incorrect authorization in Spring Security CVSS 3.1CRITICAL 9.8
- TI-2026-42404 Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces CVSS 3.1CRITICAL 9.4
- TI-2026-18257 Under Some Conditions Spring Security HTTP Headers Are not Written CVSS 3.1CRITICAL 9.1
- TI-2014-02853 Improper authentication in Pivotal Spring Security CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-22747 · CVE Program
- CVE-2026-22747 · NVD
- FIRST EPSS
- GHSA-2jrg-rf5x-568g · GitHub Advisory Database · CC BY 4.0
- CVE-2026-22747 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences