Skip to main content
EPSS 0.2%top 88%

CVE-2026-40987: CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) in Spring Spring Integration

0
High
Published: 06/11/2026 (06/11/2026, 09:31:55 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L

Affected software

Spring

Spring Integration

Affected versions
>=7.0.0 <7.0.4.1>=6.5.0 <6.5.8.1>=6.4.0 <6.4.12>=6.3.0 <6.3.15>=5.5.0 <5.5.21
org.springframework.integration/spring-integration-core
pkg:maven/org.springframework.integration/spring-integration-core
Affected 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=7.0.0=7.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:15:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses