Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization
CVE-2026-40987
7.1HIGH
What is CVE-2026-40987?
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 Version(s)
Spring Integration 7.0.0 < 7.0.5
Spring Integration 6.5.0 < 6.5.9
Spring Integration 6.4.0 < 6.4.12
