CVE-2026-59381
Received
Received - Intake
Path Traversal in Spring Integration FTP/SFTP/SMB Outbound Gateway
Vulnerability report for CVE-2026-59381, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-12-02
Last updated on: 2026-12-02
Assigner: VMware
Description
Description
The fix for CVE-2026-40987 validates only the file name against the local directory. For the remote file outbound gateway MGET command, the local directory itself can be derived from the server-controlled listing entry via the documented #remoteDirectory SpEL variable in a local-directory-expression . Since the directory is canonicalized before the containment check, the check passes even though the directory has already escaped the intended root, and the framework then creates the escaped directory.
As a result, a malicious FTP, SFTP or SMB server can write files with attacker-controlled content to arbitrary paths outside the configured local directory.
Applications are affected if they use the MGET command of an FTP, SFTP or SMB outbound gateway with a local directory expression that references #remoteDirectory (as in the reference documentation examples) and connect to a server that may be malicious or compromised.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vmware | ftp_sftp_smb_outbound_gateway | * |
| vmware | local_directory_expression | * |
| vmware | spring_integration | From 5.5.23 (inc) to 7.1.3 (exc) |
| vmware | spring_integration | 7.1.3 |
| vmware | spring_integration | 7.1.2.1 |
| vmware | spring_integration | 7.0.8 |
| vmware | spring_integration | 7.0.7.1 |
| vmware | spring_integration | 6.5.12 |
| vmware | spring_integration | 6.4.14 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |