{"id":"CVE-2026-40987","published":"2026-06-11T05:03:32Z","modified":"2026-06-23T19:45:07Z","title":"Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without…","vendor":"Spring","product":"Spring Integration","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.12487,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://spring.io/security/cve-2026-40987","tags":[]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":2.5},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.97}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-11","earliestUrl":"https://github.com/daehyuh/CVE-2026-40987","repos":[{"name":"daehyuh/CVE-2026-40987","url":"https://github.com/daehyuh/CVE-2026-40987","stars":1,"created":"2026-05-11"}]},"first":{"date":"2026-05-11","source":"PoC-in-GitHub","url":"https://github.com/daehyuh/CVE-2026-40987"},"provenance":"source"},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Integration","versions":[">= 7.0.0, < 7.0.4.1",">= 6.5.0, < 6.5.8.1",">= 6.4.0, < 6.4.12",">= 6.3.0, < 6.3.15",">= 5.5.0, < 5.5.21"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-11T12:46:16.495655Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-file","vulnerableRanges":[">=7.0.0, <7.0.5",">=6.5.0, <6.5.9",">=6.4.0, <=6.4.11",">=6.3.0, <=6.3.14","<=5.5.20"],"patched":["7.0.5","6.5.9"],"from":["GHSA-792x-6vq6-j8r9"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-36202","exploited":false,"provenance":"source"}}