{"schemaVersion":4,"id":"CVE-2026-22747","aliases":["CGA-7jf4-4c5r-w732","CGA-hjc4-936c-qxjf","CGA-jpjg-82vp-6748","CGA-mr6f-w73v-q5vx","CGA-956p-xf8g-2xgq","GHSA-2jrg-rf5x-568g"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-04-22T05:08:41.318Z","modified":"2026-07-15T01:19:29.723Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","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","exploitability":4.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","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","exploitability":4.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","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","exploitability":4.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00249,"percentile":0.17331,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.009000000000000024,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0024},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00249,"percentile":0.17331}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00249,"percentile":0.17331}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch","description":"The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/297.html"},{"id":"CWE-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"}],"affected":[{"vendor":"chainguard","product":"apache-nifi","name":"apache-nifi","label":"apache-nifi","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-nifi","purlType":"apk","versions":[{"text":"< 2.9.0-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.9.0-r3","endInclusive":false}}],"versionsText":"< 2.9.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-nifi-registry","name":"apache-nifi-registry","label":"apache-nifi-registry","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-nifi-registry","purlType":"apk","versions":[{"text":"< 2.9.0-r6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.9.0-r6","endInclusive":false}}],"versionsText":"< 2.9.0-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"camunda-zeebe-8.9","name":"camunda-zeebe-8.9","label":"camunda-zeebe-8.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/camunda-zeebe-8.9","purlType":"apk","versions":[{"text":"< 8.9.1-r2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"8.9.1-r2","endInclusive":false}}],"versionsText":"< 8.9.1-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"apache-nifi","name":"apache-nifi","label":"apache-nifi","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/apache-nifi","purlType":"apk","versions":[{"text":"< 2.9.0-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.9.0-r3","endInclusive":false}}],"versionsText":"< 2.9.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"apache-nifi-registry","name":"apache-nifi-registry","label":"apache-nifi-registry","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/apache-nifi-registry","purlType":"apk","versions":[{"text":"< 2.9.0-r6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.9.0-r6","endInclusive":false}}],"versionsText":"< 2.9.0-r6","eol":null,"hubHref":null},{"vendor":"org.springframework.security","product":"spring-security-web","name":"org.springframework.security:spring-security-web","label":"spring-security-web","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.security/spring-security-web","purlType":"maven","versions":[{"text":"≥ 7.0.0, < 7.0.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.5","endInclusive":false}}],"versionsText":"≥ 7.0.0, < 7.0.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"purl","cycle":null,"product":{"name":"spring-security","label":"Spring Security","category":"framework"}},"hubHref":null},{"vendor":"spring","product":"spring security","name":"Spring Security","label":"spring security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, ≤ 7.0.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.4","endInclusive":true}}],"versionsText":"≥ 7.0.0, ≤ 7.0.4","eol":null,"hubHref":"/vendor/spring/spring_security"},{"vendor":"vmware","product":"spring_security","name":"spring security","label":"spring_security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.5","endInclusive":false}}],"versionsText":"≥ 7.0.0, < 7.0.5","eol":null,"hubHref":"/vendor/vmware/spring_security"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-22747","label":"spring.io/security/cve-2026-22747","hostname":"spring.io","tags":["WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22747","label":"access.redhat.com/security/cve/CVE-2026-22747","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460487","label":"bugzilla.redhat.com/show_bug.cgi?id=2460487","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22747","label":"nvd.nist.gov/vuln/detail/CVE-2026-22747","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3","label":"github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/spring-projects/spring-security","label":"github.com/spring-projects/spring-security","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-53FX-C46P-VWC9"]},"timeline":[{"kind":"published","date":"2026-04-22T05:08:41.318Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:19:29.723Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,68],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00249,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-07-15T01:19:29.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_wolfi","date":"2026-07-15T01:19:29.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-07-15T01:19:29.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"cvss","source":"osv_maven","date":"2026-07-15T01:19:29.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-07-15T01:19:29.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-04-22T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00249,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T05:02:50.511Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T05:02:51.052Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T05:02:51.313Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T05:00:54.010Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T05:02:48.843Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T05:02:47.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:06:29.705Z","stale":false,"partial":false}}