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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | 7.0.4.1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
daehyuh/CVE-2026-40987 ★ 0 · May 11, 2026
CVE-2026-40987 PoC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.integration:spring-integration-file | >= 7.0.0, < 7.0.5 | 7.0.5 | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | >= 6.5.0, < 6.5.9 | 6.5.9 | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | >= 6.4.0, <= 6.4.11 | — | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | >= 6.3.0, <= 6.3.14 | — | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | <= 5.5.20 | — | GHSA-792x-6vq6-j8r9 |