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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-11 · Modified: 2026-06-23
- Aliases: GHSA-792x-6vq6-j8r9
- Record: https://cvemate.com/vulnerability/CVE-2026-40987 · JSON: https://cvemate.com/vulnerability/CVE-2026-40987/json

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

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

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
- EPSS: 0.274%, percentile 21.159%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.integration spring-integration-file (Maven): ≥ 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
- spring spring integration: ≥ 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
- vmware spring\_integration: \< 5.5.21 \| ≥ 6.3.0, \< 6.3.15 \| ≥ 6.4.0, \< 6.4.12 \| ≥ 6.5.0, \< 6.5.8.1 \| ≥ 7.0.0, \< 7.0.4.1

## References

- <https://spring.io/security/cve-2026-40987>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40987>
- <https://github.com/spring-projects/spring-integration>

---

Data as of 2026-12-05T03:59:40.301Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
