CVE-2026-40987: A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (ou
CVE-2026-40987 is a high-severity flaw (CVSS 7.1) affecting spring integration. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 88%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-06-11 |
| Last modified | 2026-09-04 |
Last updated 2026-09-04 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40987?
spring integration: upgrade to 5.5.21, 6.3.15, 6.4.12, 6.5.8.1, 7.0.4.1. Exact commands for each OS are on this page.
Is CVE-2026-40987 being exploited?
CVE-2026-40987 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40987 affect?
CVE-2026-40987 affects spring integration. Severity is high (CVSS 7.1). 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
How urgent is CVE-2026-40987?
Priority 28/100. High severity
Software pages
Related CVEs
- CVE-2026-47880 MEDIUM 5.4 UPGRADE A producer who can publish to a JMS destination consumed by any Spring Integration JMS inbound component can s
- CVE-2026-47859 MEDIUM 5.4 UPGRADE RFC6587SyslogDeserializer, used by the Spring Integration syslog TCP inbound adapter to decode RFC 6587 / RFC
- CVE-2026-47856 MEDIUM 6.3 UPGRADE Spring Integration's JSON to object conversion uses the json__TypeId__ header to choose the deserialization ta
- CVE-2026-47861 MEDIUM 6.3 UPGRADE An unauthenticated remote attacker who can send a single UDP packet to a Spring Integration UDP inbound adapte
- CVE-2026-47862 MEDIUM 5.4 UPGRADE An attacker who can set the file_name header on a message reaching a ZipTransformer with ZipResultType.FILE (t