{"cve":"CVE-2026-22747","nvd":{"published":"2026-04-22T06:16:03.933","modified":"2026-10-26T22:10:00.163","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-297","CWE-295"],"references":["https://spring.io/security/cve-2026-22747","https://access.redhat.com/security/cve/CVE-2026-22747","https://bugzilla.redhat.com/show_bug.cgi?id=2460487","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json"],"products":["vmware:spring_security"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-22747","score":0.0024,"percentile":0.14919,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-2jrg-rf5x-568g","url":"https://osv.dev/vulnerability/GHSA-2jrg-rf5x-568g","summary":"Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates","modified":"2026-09-10T03:50:42.356310547Z","packages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","ranges":[">=7.0.0 <7.0.5"],"fixed":["7.0.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}