CVE-2026-40987: CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) in Spring Spring Integration
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40987) in Spring Integration involves improper limitation of a pathname to a restricted directory (CWE-22). An attacker controlling or compromising an FTP, SFTP, or SMB server can exploit this flaw to write files anywhere on the client filesystem, bypassing the intended local directory restrictions. This can result in unauthorized file creation or modification with attacker-controlled content. The affected versions include 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, and 5.5.0 through 5.5.20. No official patch or remediation level is currently indicated in the available data.
Potential Impact
Exploitation of this vulnerability allows an attacker to write arbitrary files outside the intended directory on the client system, potentially leading to unauthorized modification of files (high integrity impact), partial loss of confidentiality, and limited availability impact. This could facilitate further attacks or persistence on the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when connecting to untrusted FTP/SFTP/SMB servers and consider restricting or monitoring file transfer operations. Review vendor communications regularly for updates on patches or official mitigations.
CVE-2026-40987: CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) in Spring Spring Integration
Description
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.
CVSS v3.1
Score 7.1high
Affected software
pkg:maven/org.springframework.integration/spring-integration-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40987) in Spring Integration involves improper limitation of a pathname to a restricted directory (CWE-22). An attacker controlling or compromising an FTP, SFTP, or SMB server can exploit this flaw to write files anywhere on the client filesystem, bypassing the intended local directory restrictions. This can result in unauthorized file creation or modification with attacker-controlled content. The affected versions include 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, and 5.5.0 through 5.5.20. No official patch or remediation level is currently indicated in the available data.
Potential Impact
Exploitation of this vulnerability allows an attacker to write arbitrary files outside the intended directory on the client system, potentially leading to unauthorized modification of files (high integrity impact), partial loss of confidentiality, and limited availability impact. This could facilitate further attacks or persistence on the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when connecting to untrusted FTP/SFTP/SMB servers and consider restricting or monitoring file transfer operations. Review vendor communications regularly for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:09.389Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2a59ba318757064921d3a7
Added to database: 06/11/2026, 06:46:18 UTC
Last enriched: 06/24/2026, 14:29:25 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.