What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Spring Integration 5.5.21, 6.3.15, 6.4.12, 6.5.8.1; Spring Integration 7.0.4.1, 6.5.8.1, 6.4.12, 6.3.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40987 or the next vulnerability affects your stack