Path traversal in Spring Integration - CVE-2026-59381
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote user to write files with arbitrary content outside the configured local download directory.
The vulnerability exists due to path traversal in the remote file outbound gateway when the MGET command resolves a local destination from remote directory information without checking that the resolved destination remains within the configured root. A remote user can control the remote file server that the application connects to and influence the download destination to write files outside that root.
The issue affects FTP, SFTP, and SMB outbound gateways configured with a local directory expression that references #remoteDirectory.