CVE-2026-47838: SubjectDnX509PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which
CVE-2026-47838 is a medium-severity flaw (CVSS 6.8) affecting spring security. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.1% (top 97%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2026-06-10 |
| Last modified | 2026-07-23 |
Last updated 2026-07-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-47838?
spring security: upgrade to 5.7.25, 5.8.27, 6.3.18, 6.4.18, 6.5.11. Exact commands for each OS are on this page.
Is CVE-2026-47838 being exploited?
CVE-2026-47838 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-47838 affect?
CVE-2026-47838 affects spring security. Severity is medium (CVSS 6.8). 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 impersonat
How urgent is CVE-2026-47838?
Priority 24/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-22754 HIGH 7.5 UPGRADE Vulnerability in Spring Spring Security
- CVE-2026-22753 HIGH 7.5 UPGRADE Vulnerability in Spring Spring Security
- CVE-2026-22747 MEDIUM 6.8 UPGRADE Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malfo
- CVE-2026-22746 LOW 3.7 UPGRADE Vulnerability in Spring Spring Security
- CVE-2026-22751 MEDIUM 4.8 UPGRADE Vulnerability in Spring Spring Security