CVE-2026-47838
Last modified
CVE-2026-47838 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- https://spring.io/security/cve-2026-47838Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-47838?
How severe is CVE-2026-47838?
How do I fix CVE-2026-47838?
Are you affected by CVE-2026-47838?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
