{"id":"CVE-2026-40987","state":"PUBLISHED","title":"Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization","description":"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.","publishedAt":"2026-06-11T05:03:32.606Z","updatedAt":"2026-06-23T19:45:07.463Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L","source":"vmware"},"assigner":"vmware","products":["Spring Spring Integration"],"affected":[{"vendor":"Spring","product":"Spring Integration","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"7.0.4.1","versionType":"custom"},{"version":"6.5.0","status":"affected","lessThan":"6.5.8.1","versionType":"custom"},{"version":"6.4.0","status":"affected","lessThan":"6.4.12","versionType":"custom"},{"version":"6.3.0","status":"affected","lessThan":"6.3.15","versionType":"custom"},{"version":"5.5.0","status":"affected","lessThan":"5.5.21","versionType":"custom"}]}],"references":["https://spring.io/security/cve-2026-40987"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40987.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40987","state":"PUBLISHED","datePublished":"2026-06-11T05:03:32.606Z","dateUpdated":"2026-06-23T19:45:07.463Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2026-04-16T02:19:09.389Z"},"containers":{"cna":{"title":"Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Spring","product":"Spring Integration","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"7.0.4.1","versionType":"custom"},{"version":"6.5.0","status":"affected","lessThan":"6.5.8.1","versionType":"custom"},{"version":"6.4.0","status":"affected","lessThan":"6.4.12","versionType":"custom"},{"version":"6.3.0","status":"affected","lessThan":"6.3.15","versionType":"custom"},{"version":"5.5.0","status":"affected","lessThan":"5.5.21","versionType":"custom"}]}],"references":[{"url":"https://spring.io/security/cve-2026-40987"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"LOW","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2026-06-23T19:45:07.463Z"},"impacts":[{"descriptions":[{"lang":"en","value":"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."}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-11T12:46:16.495655Z","id":"CVE-2026-40987","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T12:46:24.043Z"}}]}}}