Quick answers
- Is CVE-2026-40987 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40987 being exploited in the wild.
- How severe is CVE-2026-40987?
- High severity, with a CVSS score of 7.1, published 11 June 2026.
- Which products and versions are affected?
- org.springframework.integration:spring-integration-file (Maven) ECOSYSTEM:introduced=7.0.0,fixed=7.0.5; VMware 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, 7.0.0 to 7.0.4, 6.5.0 to 6.5.8, 6.4.0 to 6.4.11, 6.3.0 to 6.3.14, 5.5.0 to 5.5.20.
- Is there a fix for CVE-2026-40987?
- Yes. org.springframework.integration:spring-integration-file (Maven): upgrade to 7.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40987 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-40987?
- Check whether you run org.springframework.integration:spring-integration-file (Maven) or VMware Spring Integration at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.springframework.integration:spring-integration-file (Maven): upgrade to 7.0.5 or later
# set org.springframework.integration:spring-integration-file to 7.0.5 in your pom.xml or build.gradle
Technical details
A path traversal vulnerability (CWE-22) exists in the Spring Integration File Support module. When a client application connects to a malicious or compromised FTP, SFTP, or SMB server, the server can provide file paths containing traversal sequences (e.g., ../) that the client does not properly neutralize. This allows the server to write files with attacker-controlled content outside of the intended local directory on the client's filesystem. The vulnerability affects the 'spring-integration-file' artifact across multiple major versions. Users should upgrade to version 7.0.5 or later to mitigate this issue.
Affected products
- VMware Spring Integration 7.0.0 to 7.0.4, 6.5.0 to 6.5.8, 6.4.0 to 6.4.11, 6.3.0 to 6.3.14, 5.5.0 to 5.5.20
Identifiers
- CVE-2026-40987
- GHSA-792x-6vq6-j8r9
Timeline
- 2026-06-11: disclosed
- 2026-06-11: advisory
- 2026-07-24: patched: GitHub advisory updated with patched version 7.0.5