Skip to main content

Spring Integration CVE-2026-40987

| EUVDEUVD-2026-36202 HIGH
Path Traversal (CWE-22)
2026-06-11 vmware GHSA-792x-6vq6-j8r9
7.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Compromise or stand up hostile FTP/SFTP/SMB server
  2. Delivery
    Victim Spring Integration adapter polls server
  3. Exploit
    Server returns file with traversal filename
  4. Install
    Synchronizer writes file outside local-directory
  5. C2
    Overwrite app config or executable
  6. Execute
    Trigger reload or restart
  7. Impact
    Code 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Integration 6.5.0 <6.5.9
Spring Integration 7.0.0 <7.0.5
Spring Integration 6.3.0 <6.3.15
Spring Integration 5.5.0 <5.5.21
Spring Integration 6.4.0 <6.4.12

Affected Packages

maven org.springframework.integration:spring-integration-file fix: 6.5.9, 7.0.5
euvd spring_integration fix: 5.5.21, 6.3.15, 6.4.12, 6.5.9, 7.0.5

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

Vendor (vmware) PRIMARY 7.1 HIGH
AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
vuln.today AI 7.3 HIGH

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.

3.1 AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:H/UI:P/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L
Red Hat 7.1 HIGH

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 11, 2026 - 08:01 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.springframework.integration:spring-integration-file (5 direct, 1 indirect)

Ecosystem-wide dependent count for version 7.0.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy