Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-59381 — Spring Integration

High · CVSS 7.1EPSS 0.2% First seen December 02, 2026

One of 12 Spring Integration vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.1 CVSS 3.1 base score from the CNA (vmware.com)

An attacker with a normal user account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
yes, a normal user account
User action needed
yes, someone must click, open or visit something
Scope
reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
Impact
high on integrity, low on confidentiality and availability

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

Affected and fixed versions

ProductAffected versionsFixed in
Spring Integration≥ 7.1.0, < 7.1.2.17.1.2.1
≥ 7.0.0, < 7.0.7.17.0.7.1
≥ 6.5.0, < 6.5.126.5.12
≥ 6.4.0, < 6.4.146.4.14
≥ 5.5.0, < 5.5.235.5.23
≥ 7.1.0, < 7.1.37.1.3
≥ 7.0.0, < 7.0.87.0.8

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • Spring Integration

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is 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 .

How severe is CVE-2026-59381?

CVE-2026-59381 has a CVSS 3.1 base score of 7.1 (high), from the CNA (vmware.com). An attacker with a normal user account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Is CVE-2026-59381 being exploited?

Not as far as is known: CVE-2026-59381 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-59381?

Spring Integration ≥ 7.1.0, < 7.1.2.1 (fixed in 7.1.2.1); Spring Integration ≥ 7.0.0, < 7.0.7.1 (fixed in 7.0.7.1); Spring Integration ≥ 6.5.0, < 6.5.12 (fixed in 6.5.12); Spring Integration ≥ 6.4.0, < 6.4.14 (fixed in 6.4.14); and more, listed on this page.

How do I fix CVE-2026-59381?

Update to a fixed release: Spring Integration 7.1.2.1; Spring Integration 7.0.7.1; Spring Integration 6.5.12.

Timeline & sources

References