CVE-2026-47838
HIGH 8.1CVSS 3.1Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates
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.
- Published
- 10 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-287
- Also known as
- GHSA-293q-567p-wmwq
- Sources
- NVDJSONOSV GHSA-293q-567p-wmwqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
< 5.7.25 | 5.7.25 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.8.0, < 5.8.27 | 5.8.27 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.3.0, < 6.3.18 | 6.3.18 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.4.0, < 6.4.18 | 6.4.18 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.5.0, < 6.5.11 | 6.5.11 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.5.0, < 6.5.11 | 6.5.11 |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.4.0, <= 6.4.13 | |
| OSV | Maven | org.springframework.security:spring-security-web | >= 6.0.0, <= 6.3.10 | |
| OSV | Maven | org.springframework.security:spring-security-web | >= 5.8.0, <= 5.8.16 | |
| OSV | Maven | org.springframework.security:spring-security-web | <= 5.7.14 |
References
- https://spring.io/security/cve-2026-47838 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47838 · ADVISORY
- https://github.com/advisories/GHSA-2jrg-rf5x-568g · ADVISORY
- spring-projects/spring-security · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jun 2026)