Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise or stand up hostile FTP/SFTP/SMB server
-
DeliveryVictim Spring Integration adapter polls server
-
ExploitServer returns file with traversal filename
-
InstallSynchronizer writes file outside local-directory
-
C2Overwrite app config or executable
-
ExecuteTrigger reload or restart
-
ImpactCode execution or credential theft on client host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable application must use Spring Integration's FTP, SFTP, or SMB inbound channel adapter (or the underlying remote-file synchronizer) and must poll a file server that is either attacker-controlled or has been compromised - the attacker's leverage is the ability to choose remote filenames returned in directory listings or transfers. Limiting factors are significant: the victim must be configured to connect to the hostile server (PR:L reflects the server-side credential), a polling or on-demand fetch must occur (UI:R), and the framework version must fall in the affected ranges; deployments that only use outbound adapters, or that connect exclusively to hardened internal servers, are not realistically exposed. Impact is bounded by the OS-level permissions of the JVM process. |
| Impact | Signals are mixed but lean serious for organizations integrating with third-party file servers. The CVSS 3.1 base of 7.1 (AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L) reflects high integrity impact and a scope change (writing outside the application's sandbox), but tempered by high attack complexity, required privileges, and user interaction - these reflect the need for the victim app to be configured to poll an attacker-controlled or compromised server. No EPSS score, no CISA KEV entry, and no public POC are present in the data, so this is not currently a mass-exploitation candidate. The realistic risk is targeted: any deployment that pulls files from a partner/vendor SFTP or SMB share inherits the trust of that server, and supply-chain or BEC-style compromise of that server immediately yields arbitrary file write on the client. Treat as high priority for B2B file-exchange use cases, lower priority where remote servers are wholly internal and trusted. |
| Exploit ScenarioDerived | An organization configures a Spring Integration SFTP inbound adapter to pull invoices nightly from a partner's SFTP server; the partner is compromised (or the partner is malicious from the outset) and serves a file whose remote name is '../../../../opt/app/config/application.properties' containing attacker-supplied JDBC and credential overrides. On the next poll, Spring Integration writes the file to the absolute path, and the next application restart picks up the malicious configuration, leading to credential theft or redirected traffic. The attack requires user interaction in the CVSS sense (the polling configuration plus a triggered run) and is feasible without any public POC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Path traversal in Spring Integration's FTP/SFTP/SMB inbound adapters allows a malicious or compromised remote file server to write attacker-controlled files outside the configured local directory on any client polling it, affecting versions 5.5.0-5.5.20, 6.3.0-6.3.14, 6.4.0-6.4.11, 6.5.0-6.5.8, and 7.0.0-7.0.4. The flaw inverts the usual trust model - the file-transfer client trusts the server's filename, enabling overwrite of arbitrary host files such as configuration, cron, or application JARs, which can escalate to code execution. No public exploit identified at time of analysis, but the issue is straightforward to weaponize once a hostile server endpoint is reachable.
RemediationAI
Patch available per vendor advisory at https://spring.io/security/cve-2026-40987; upgrade to the fixed maintenance release in your branch (5.5.x, 6.3.x, 6.4.x, 6.5.x, or 7.0.x past the affected ceiling listed above) as the primary fix, since the framework must reject traversal sequences and absolute paths in remote filenames. If you cannot upgrade immediately, restrict inbound FTP/SFTP/SMB adapters to file servers under your direct administrative control and pin them by hostname plus host-key/credentials, and add a custom FileListFilter or filename sanitizer that rejects any remote name containing '..', a leading '/', a drive letter, or NUL bytes - note this is a defense-in-depth measure that you must audit yourself, since malformed filters silently allow traversal. As a containment measure, run the JVM under a dedicated unprivileged user with write access only to the configured local-directory (e.g., via SELinux/AppArmor or filesystem ACLs), which limits the blast radius if the bypass succeeds but does not prevent overwrite of files the JVM legitimately owns, such as application JARs and config.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Integration is the VMware/Spring messaging-integration framework (CPE cpe:2.3:a:spring:spring_integration) that provides inbound channel adapters for FTP, SFTP, and SMB to synchronize remote directories into a local staging directory. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the inbound synchronizer uses the remote filename verbatim when constructing the local destination path, so a server returning a name containing '../' segments or an absolute path escapes the configured local-directory sandbox. Because Java's java.io.File and Files.copy honor traversal sequences and absolute paths, the framework writes the file wherever the attacker directs, with the JVM's filesystem permissions.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
Attacker must control the remote server the client is configured to trust (PR:H, AC:H, UI:R); arbitrary file write yields high integrity and availability impact with scope change beyond the app sandbox, no direct confidentiality loss.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
1DescriptionCVE.org
A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-directory) with attacker-controlled content.
Affected versions: Spring Integration 7.0.0 through 7.0.4; 6.5.0 through 6.5.8; 6.4.0 through 6.4.11; 6.3.0 through 6.3.14; 5.5.0 through 5.5.20.
Blast Radius
ecosystem impact- 6 maven packages depend on org.springframework.integration:spring-integration-file (5 direct, 1 indirect)
Ecosystem-wide dependent count for version 7.0.0.
Articles & Coverage 2
Executive ViewAI
Spring Integration's FTP, SFTP, and SMB adapters in versions 5.5.0 through 7.0.4 contain a path traversal vulnerability allowing compromised or malicious remote file servers to write arbitrary files to client systems, potentially enabling code execution. No public exploit has been identified at time of analysis. Organizations using these adapters face direct system compromise risk through file server compromise, even when the client application is otherwise well-secured.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network-level access to remote file servers using strict firewall rules; (2) Require mutual TLS/certificate authentication with an allowlist of trusted remote servers only; (3) Deploy file integrity monitoring and OS audit logging on affected systems; (4) Disable FTP/SFTP/SMB adapters entirely if business operations do not require them; (5) Mandate security review and approval for any modifications to remote file server endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-36202
GHSA-792x-6vq6-j8r9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB