{"id":"CVE-2026-47838","aliases":["GHSA-293q-567p-wmwq"],"url":"https://o3.security/vulnerability/CVE-2026-47838","summary":"Unauthorized User Impersonation when Using X.509 Client Certificates","details":"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.","published":"2026-06-09T23:50:07.988Z","modified":"2026-07-25T03:56:35.821333336Z","cvss":{"score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.00116,"percentile":0.01858,"asOf":"2026-08-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":"6.5.11"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-47838"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47838.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47838"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-25T03:56:35.821333336Z"}}