Skip to main content
Network Thinking Solutions Logo

CVE-2026-59381

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 .

All CVEs
CVE-2026-59381Published 12/2/2026

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 .

Vendor advisory
CVSS 3.17.1High

Overview

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
12/2/2026
Last modified
12/2/2026
CVE assigner
vmware
NVD analysis
Awaiting Analysis

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Spring Integration
Spring
≥ 7.1.0, < 7.1.2.1

Verify advisory

Source
Spring Integration
Spring
≥ 7.0.0, < 7.0.7.1

Verify advisory

Source
Spring Integration
Spring
≥ 6.5.0, < 6.5.12

Verify advisory

Source
Spring Integration
Spring
≥ 6.4.0, < 6.4.14

Verify advisory

Source
Spring Integration
Spring
≥ 5.5.0, < 5.5.23

Verify advisory

Source
Spring Integration
Spring
≥ 7.1.0, < 7.1.3

Verify advisory

Source
Spring Integration
Spring
≥ 7.0.0, < 7.0.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.1 · High CVSS 3.1

Scored by vmware

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L

7.1 · High CVSS 3.1

Scored by security@vmware.com

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.