{"id":"CVE-2026-40987","aliases":["CVE-2026-40987","GHSA-792x-6vq6-j8r9"],"related":[],"kind":"vulnerability","state":"published","title":"Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization","summary":"A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-directory) with attacker-controlled content.\n\nAffected versions:\nSpring Integration 7.0.0 through 7.0.4; 6.5.0 through 6.5.8; 6.4.0 through 6.4.11; 6.3.0 through 6.3.14; 5.5.0 through 5.5.20.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-directory) with attacker-controlled content.\n\nAffected versions:\nSpring Integration 7.0.0 through 7.0.4; 6.5.0 through 6.5.8; 6.4.0 through 6.4.11; 6.3.0 through 6.3.14; 5.5.0 through 5.5.20.","source":"cvelist"},{"lang":"es","text":"Un servidor FTP/SFTP/SMB malicioso o comprometido puede escribir archivos arbitrarios en cualquier lugar del sistema de archivos del cliente (fuera del directorio local configurado) con contenido controlado por el atacante.\n\nVersiones afectadas:\nSpring Integration 7.0.0 hasta 7.0.4; 6.5.0 hasta 6.5.8; 6.4.0 hasta 6.4.11; 6.3.0 hasta 6.3.14; 5.5.0 hasta 5.5.20.","source":"nvd"}],"published":"2026-06-11T05:03:32.606Z","modified":"2026-09-04T18:07:41.340Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"7.0.0","fixed":"7.0.4.1","status":"affected"},{"type":"custom","introduced":"6.5.0","fixed":"6.5.8.1","status":"affected"},{"type":"custom","introduced":"6.4.0","fixed":"6.4.12","status":"affected"},{"type":"custom","introduced":"6.3.0","fixed":"6.3.15","status":"affected"},{"type":"custom","introduced":"5.5.0","fixed":"5.5.21","status":"affected"}],"vendor":"Spring","product":"Spring Integration","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.5"}],"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-file","purl":"pkg:maven/org.springframework.integration/spring-integration-file","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.5.0","status":"affected","fixed":"6.5.9"}],"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-file","purl":"pkg:maven/org.springframework.integration/spring-integration-file","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.4.0","status":"affected","lastAffected":"6.4.11"}],"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-file","purl":"pkg:maven/org.springframework.integration/spring-integration-file","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.3.0","status":"affected","lastAffected":"6.3.14"}],"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-file","purl":"pkg:maven/org.springframework.integration/spring-integration-file","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.5.20"}],"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-file","purl":"pkg:maven/org.springframework.integration/spring-integration-file","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.5.21"},{"status":"affected","introduced":"6.3.0","fixed":"6.3.15"},{"status":"affected","introduced":"6.4.0","fixed":"6.4.12"},{"status":"affected","introduced":"6.5.0","fixed":"6.5.8.1"},{"status":"affected","introduced":"7.0.0","fixed":"7.0.4.1"}],"vendor":"vmware","product":"spring_integration","cpe":"cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-40987","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40987","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-integration","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-11T12:46:16.495Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40987","url":"https://www.cve.org/CVERecord?id=CVE-2026-40987","licence":"CVE Terms of Use","modified":"2026-06-23T19:45:07.463Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-792x-6vq6-j8r9","url":"https://github.com/advisories/GHSA-792x-6vq6-j8r9","licence":"CC-BY-4.0","modified":"2026-08-07T19:15:32.748Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40987","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40987","licence":"Public domain","modified":"2026-09-04T18:07:41.340Z"}],"updatedAt":"2026-11-25T22:59:24.409Z","epss":{"score":0.00274,"percentile":0.21214,"date":"2026-12-01T12:00:22.000Z"}}