# CVE-2026-40987: Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization

- Severity: High 7.1 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-06-11T05:03:32.606Z
- Modified: 2026-09-04T18:07:41.340Z
- Also known as: GHSA-792x-6vq6-j8r9
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

Affected versions:
Spring 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.

(As written by CVE List.)

## Affected

- Spring Spring Integration: from 7.0.0 before 7.0.4.1; from 6.5.0 before 6.5.8.1; from 6.4.0 before 6.4.12; from 6.3.0 before 6.3.15; from 5.5.0 before 5.5.21
- org.springframework.integration:spring-integration-file (Maven): from 7.0.0 before 7.0.5; from 6.5.0 before 6.5.9; from 6.4.0 up to 6.4.11; from 6.3.0 up to 6.3.14; up to 5.5.20
- vmware spring_integration: before 5.5.21; from 6.3.0 before 6.3.15; from 6.4.0 before 6.4.12; from 6.5.0 before 6.5.8.1; from 7.0.0 before 7.0.4.1

## Every score

- vmware: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L`

## References

- <https://spring.io/security/cve-2026-40987> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40987> (advisory)
- <https://github.com/spring-projects/spring-integration> (package)

## Sources

- CVE List: [CVE-2026-40987](https://www.cve.org/CVERecord?id=CVE-2026-40987), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-792x-6vq6-j8r9](https://github.com/advisories/GHSA-792x-6vq6-j8r9), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2026-40987](https://nvd.nist.gov/vuln/detail/CVE-2026-40987), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-40987 · Whole record: https://cve.day/CVE-2026-40987.json · Rebuilt by cve.day 2026-11-25T22:59:24.409Z
