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 allows an attacker controlling an FTP/SFTP/SMB server to write files anywhere on the client filesystem, bypassing the configured local-directory restrictions. The flaw is due to improper limitation of pathname to a restricted directory (CWE-22), enabling path traversal attacks. Affected versions include Spring Integration 5.5.0 through 5.5.20, 6.3.0 through 6.3.14, 6.4.0 through 6.4.11, 6.5.0 through 6.5.8, and 7.0.0 through 7.0.4. The CVSS 3.1 base score is 7.1, reflecting high severity with network attack vector, high impact on integrity, and low privileges required with user interaction.
Potential Impact
An attacker who controls or compromises an FTP/SFTP/SMB server can exploit this vulnerability to write arbitrary files anywhere on the client filesystem, outside the intended local directory. This can lead to integrity violations and potential local system compromise or persistent malware installation. The attack requires user interaction and low privileges but can have significant impact due to the ability to place files arbitrarily.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is currently available. Until a fix is released, users should exercise caution when connecting to untrusted or potentially compromised FTP/SFTP/SMB servers and consider restricting or monitoring file transfer operations. Follow vendor advisories for updates on remediation.
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
Spring
Spring Integration
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 allows an attacker controlling an FTP/SFTP/SMB server to write files anywhere on the client filesystem, bypassing the configured local-directory restrictions. The flaw is due to improper limitation of pathname to a restricted directory (CWE-22), enabling path traversal attacks. Affected versions include Spring Integration 5.5.0 through 5.5.20, 6.3.0 through 6.3.14, 6.4.0 through 6.4.11, 6.5.0 through 6.5.8, and 7.0.0 through 7.0.4. The CVSS 3.1 base score is 7.1, reflecting high severity with network attack vector, high impact on integrity, and low privileges required with user interaction.
Potential Impact
An attacker who controls or compromises an FTP/SFTP/SMB server can exploit this vulnerability to write arbitrary files anywhere on the client filesystem, outside the intended local directory. This can lead to integrity violations and potential local system compromise or persistent malware installation. The attack requires user interaction and low privileges but can have significant impact due to the ability to place files arbitrarily.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is currently available. Until a fix is released, users should exercise caution when connecting to untrusted or potentially compromised FTP/SFTP/SMB servers and consider restricting or monitoring file transfer operations. Follow vendor advisories for updates on remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:09.389Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a2a59ba318757064921d3a7
Added to database: 06/11/2026, 06:46:18 UTC
Last enriched: 08/08/2026, 15:15:08 UTC
Last updated: 09/12/2026, 22:01:33 UTC
Views: 96
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.