Path traversal in Spring Integration MGET lets servers write files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Spring Integration versions from 5.5.0 before 5.5.23, from 6.4.0 before 6.4.14, from 6.5.0 before 6.5.12, from 7.0.0 before 7.0.8 and from 7.1.0 before 7.1.3 are affected. The fix for CVE-2026-40987 checks only the file name against the local directory, while the MGET command of an FTP, SFTP or SMB outbound gateway can derive that directory from a server-controlled listing entry through #remoteDirectory. Because the directory is canonicalized before the containment check, an escaped directory passes the check and gets created. A malicious or compromised FTP, SFTP or SMB server can therefore write attacker-controlled content to arbitrary paths outside the configured local directory.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Integration | 7.1.0 to before 7.1.2.1; 7.0.0 to before 7.0.7.1; 6.5.0 to before 6.5.12; 6.4.0 to before 6.4.14; 5.5.0 to before 5.5.23; 7.1.0 to before 7.1.3; 7.0.0 to before 7.0.8 | 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8 | Patch available | CNA |
- Spring Integration VendorVMware Affected 7.1.0 to before 7.1.2.1; 7.0.0 to before 7.0.7.1; 6.5.0 to before 6.5.12; 6.4.0 to before 6.4.14; 5.5.0 to before 5.5.23; 7.1.0 to before 7.1.3; 7.0.0 to before 7.0.8 Fixed in 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8 Patch available CNA
Remediation
Upgrade Spring Integration to 5.5.23, 6.4.14, 6.5.12, 7.0.7.1, 7.0.8, 7.1.2.1 or 7.1.3, depending on the release line in use. The sources list no fixed version for applications that avoid the vulnerable configuration, so the upgrade is the only listed fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring Integration (Spring) Fixed in 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Spring Integration 5.5.23, 6.4.14 and 5 more versions
9 records Highest priority Priority MEDIUM 8 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-102014 Unsafe Java deserialization in Spring Integration Redis queuesPriority MEDIUM 48
- TI-2026-101992 Command injection in Spring Integration FTP SITE chmod commandPriority MEDIUM 46
- TI-2026-102013 Memory exhaustion in Spring Integration FluxAggregatorMessageHandlerPriority MEDIUM 44
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59381
- 2026-12-02 Alias added: GHSA-j8xh-m89r-wwcv
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59381 · CVE Program
- CVE-2026-59381 · NVD
- GHSA-j8xh-m89r-wwcv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences