{"id":"CVE-2026-47838","state":"PUBLISHED","title":"Unauthorized User Impersonation when Using X.509 Client Certificates","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.\n\nAffected versions:\nSpring 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.","publishedAt":"2026-06-09T23:50:07.988Z","updatedAt":"2026-06-30T21:49:56.180Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"vmware"},"assigner":"vmware","products":["Spring Spring Security"],"affected":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"unaffected","versions":[{"version":"5.7.0","status":"affected","lessThan":"5.7.25","versionType":"custom"},{"version":"5.8.0","status":"affected","lessThan":"5.8.27","versionType":"custom"},{"version":"6.3.0","status":"affected","lessThan":"6.3.18","versionType":"custom"},{"version":"6.4.0","status":"affected","lessThan":"6.4.18","versionType":"custom"},{"version":"6.5.0","status":"affected","lessThan":"6.5.10.2","versionType":"custom"}]}],"references":["https://spring.io/security/cve-2026-47838"],"weaknesses":["CWE-287"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47838.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47838","state":"PUBLISHED","datePublished":"2026-06-09T23:50:07.988Z","dateUpdated":"2026-06-30T21:49:56.180Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2026-05-20T10:00:51.003Z"},"containers":{"cna":{"title":"Unauthorized User Impersonation when Using X.509 Client Certificates","descriptions":[{"lang":"en","value":"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.\n\nAffected versions:\nSpring 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."}],"affected":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"unaffected","versions":[{"version":"5.7.0","status":"affected","lessThan":"5.7.25","versionType":"custom"},{"version":"5.8.0","status":"affected","lessThan":"5.8.27","versionType":"custom"},{"version":"6.3.0","status":"affected","lessThan":"6.3.18","versionType":"custom"},{"version":"6.4.0","status":"affected","lessThan":"6.4.18","versionType":"custom"},{"version":"6.5.0","status":"affected","lessThan":"6.5.10.2","versionType":"custom"}]}],"references":[{"url":"https://spring.io/security/cve-2026-47838"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":6.8,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2026-06-30T21:49:56.180Z"},"impacts":[{"descriptions":[{"lang":"en","value":"An attacker who can present a carefully crafted X.509 certificate with a malformed CN value can impersonate another user via SubjectDnX509PrincipalExtractor."}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-10T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-47838"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T03:55:26.845Z"}}]}}}