{"id":"CVE-2026-22747","aliases":["GHSA-2jrg-rf5x-568g"],"url":"https://o3.security/vulnerability/CVE-2026-22747","summary":"Unauthorized User Impersonation when Using X.509 Client Certificates","details":"Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor 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.\nThis issue affects Spring Security: from 7.0.0 through 7.0.4.","published":"2026-04-22T05:08:41.318Z","modified":"2026-07-16T03:31:02.007585503Z","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.00296,"percentile":0.21825,"asOf":"2026-08-07"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":"7.0.5"}],"fix":null,"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json"},{"type":"WEB","url":"https://spring.io/security/cve-2026-22747"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-22747"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22747"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460487"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-16T03:31:02.007585503Z"}}