{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-22747","id":"CVE-2026-22747","title":"Unauthorized User Impersonation when Using X.509 Client Certificates","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.","descriptionLong":"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","updated":"2026-10-28T02:30:36.931619138Z","reserved":"2026-01-09T06:55:03.990Z","status":"Modified","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":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"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":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":"redhat-SADP"},{"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":"7.0.0","lessThanOrEqual":"7.0.4","versionType":"custom"}],"platforms":[]}],"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"],"advisory":"GHSA-2jrg-rf5x-568g"}],"cwes":["CWE-297","CWE-295"],"aliases":["GHSA-2jrg-rf5x-568g"],"references":[{"url":"https://spring.io/security/cve-2026-22747","tags":["Vendor Advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22747","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460487","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22747","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3","tags":["web"]},{"url":"https://github.com/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.00249,"epssPercentile":0.16423,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-22747","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22747","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-22747","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2jrg-rf5x-568g","ok":true,"note":"GHSA-2jrg-rf5x-568g"},{"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-22747","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["spring"],"critical":[],"attention":null}