{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-47838","id":"CVE-2026-47838","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.","descriptionLong":"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","updated":"2026-10-28T02:30:54.244244854Z","reserved":"2026-05-20T10:00:51.003Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"vmware"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"vmware"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"vmware.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Spring Security"],"affectedProducts":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"unaffected","versions":[{"status":"affected","version":"5.7.0","lessThan":"5.7.25","versionType":"custom"},{"status":"affected","version":"5.8.0","lessThan":"5.8.27","versionType":"custom"},{"status":"affected","version":"6.3.0","lessThan":"6.3.18","versionType":"custom"},{"status":"affected","version":"6.4.0","lessThan":"6.4.18","versionType":"custom"},{"status":"affected","version":"6.5.0","lessThan":"6.5.10.2","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","ranges":[">=6.5.0 <6.5.11",">=6.4.0 <=6.4.13",">=6.0.0 <=6.3.10",">=5.8.0 <=5.8.16","<=5.7.14"],"fixed":["6.5.11"],"advisory":"GHSA-293q-567p-wmwq"}],"cwes":["CWE-287"],"aliases":["GHSA-293q-567p-wmwq"],"references":[{"url":"https://spring.io/security/cve-2026-47838","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47838.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47838","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2jrg-rf5x-568g","tags":["advisory"]},{"url":"spring-projects/spring-security","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00133,"epssPercentile":0.02897,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-47838","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47838","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-47838","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-293q-567p-wmwq","ok":true,"note":"GHSA-293q-567p-wmwq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-47838","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["spring"],"critical":[],"attention":null}