Read the docs

Path traversal in Spring Integration MGET lets servers write files

Priority MEDIUM 46Published · Updated

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

Fix Fixed Spring Integration (Spring): 7.1.2.1, 7.0.7.1, 6.5.12 +4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
VMwareSpring Integration7.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.87.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8Patch availableCNA
  • 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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*——VMware
  • cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:* Versions — — ·VMware

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

  1. 2026-12-02 Threatist record created from CVE-2026-59381
  2. 2026-12-02 Alias added: GHSA-j8xh-m89r-wwcv

References

  • 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
See all 1214 →

Sources