CVE Explorer
CVE-2026-47838
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Spring Security","vendor":"Spring","versions":[{"lessThan":"5.7.25","status":"affected","version":"5.7.0","versionType":"custom"},{"lessThan":"5.8.27","status":"affected","version":"5.8.0","versionType":"custom"},{"lessThan":"6.3.18","status":"affected","version":"6.3.0","versionType":"custom"},{"lessThan":"6.4.18","status":"affected","version":"6.4.0","versionType":"custom"},{"lessThan":"6.5.10.2","status":"affected","version":"6.5.0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5586588839f905ee87afbedb9400ff4854f579a22447afc6829f941ae4f654b1 · sha256:5f169b69ccdf4e0d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5586588839f905ee87afbedb9400ff4854f579a22447afc6829f941ae4f654b1 · sha256:5f169b69ccdf4e0d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-287","description":"CWE-287: Improper Authentication","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5586588839f905ee87afbedb9400ff4854f579a22447afc6829f941ae4f654b1 · sha256:5f169b69ccdf4e0d… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://spring.io/security/cve-2026-47838"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5586588839f905ee87afbedb9400ff4854f579a22447afc6829f941ae4f654b1 · sha256:5f169b69ccdf4e0d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.