CVE-2026-59381
HIGH 7.1CVSS 3.1Spring Integration Remote File MGET Local Directory Path Traversal via Server-Controlled Remote Directory
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security@vmware.com
- NVD status
- Awaiting Analysis
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L |
| CVE List | vmware | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Spring | Spring Integration | >= 7.1.0, < 7.1.2.1; >= 7.0.0, < 7.0.7.1; >= 6.5.0, < 6.5.12; >= 6.4.0, < 6.4.14; >= 5.5.0, < 5.5.23; >= 7.1.0, < 7.1.3; >= 7.0.0, < 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 |
References
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L&version=3.1
- https://spring.io/security/cve-2026-59381
History
- 2 Dec 2026 19:36 UTC · NVD: status Received → Awaiting Analysis
- 2 Dec 2026 08:19 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 07:42 UTC · CVE List: first stored (published 2 Dec 2026)