Path traversal in Spring Integration - CVE-2026-59381

 

Path traversal in Spring Integration - CVE-2026-59381

Published: November 20, 2026


Vulnerability identifier: #VU168619
CSH Severity: Low
CVSS v4: 5.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59381
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Spring Integration

How to mitigate CVE-2026-59381

Install security update from vendor's website.

Spring Integration - addressed in versions 5.5.23, 6.4.14, 6.5.12, 7.0.7.1, 7.0.8, 7.1.2.1, 7.1.3

External References

Related Security Bulletins