CVE-2026-59381

HighCVSS 7.1/10Last modified Dec 2, 2026

Description

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.

Metrics

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

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
SpringSpring 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

References

Timeline

Published
Dec 2, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-593826.8The symbolic link guard in AbstractZipTransformer.onInit() protects an explicitly configured workDirectory , but not the default one. The deCVE-2026-593838.0The fix for CVE-2026-59307 introduced a regression in JdbcMessageStore . When the store is configured as a <bean> or via @Bean , the Spring CVE-2026-593848.8During parallel state execution, the state compiler pickled the __context__ dictionary without validation. Objects with malicious __reduce__CVE-2026-593852.7A user with SpaceDeveloper privileges could modify the URL of a space-scoped broker without altering its credentials, enabling extraction ofCVE-2026-593866.5A SpaceSupporter could improperly modify an application's start command and buildpack—actions requiring SpaceDeveloper privileges. This privCVE-2026-593878.8The Nginx routing configuration for Cloud Controller blocks unauthenticated access to /internal/v4/ and /internal/v5/ endpoints but omits anCVE-2026-593886.5Cloud Controller (CAPI) leaks sensitive data into audit logs in multiple instances: custom buildpack credentials are exposed in audit eventsCVE-2026-593895.3Spring WebFlux applications that parse multipart request are vulnerable to part smuggling when relaying multipart to downstream services. CVE-2026-59395.5A crafted XFA PDF can trigger a use-after-free condition during calculate event processing, causing the application to crash and resulting iCVE-2026-593905.9Spring Framework's WebSocket support does not validate the Origin header by default if WebSocketHttpRequestHandler is configured directly byCVE-2026-593915.9Spring Framework's STOMP broker relay can allow an authenticated user to bypass message authorization rules when an external STOMP broker isCVE-2026-593925.7Spring Framework's STOMP over SockJS support can expose messages intended for one user to another user. An application is affected if it u
CVE-2026-59381: High severity, CVSS 7.1 | Vulnix