Directory Traversal Affecting org.springframework.integration:spring-integration-ftp package, versions [,6.5.9)[7.0.0-M1, 7.0.5)[7.1.0-M1, 7.1.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKINTEGRATION-18322491
  • published27 Jul 2026
  • disclosed10 Jun 2026
  • creditM0untainShley, SharlongWen, daehyuh

Introduced: 10 Jun 2026

CVE-2026-40987  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade org.springframework.integration:spring-integration-ftp to version 6.5.9, 7.0.5, 7.1.0 or higher.

Overview

org.springframework.integration:spring-integration-ftp is a

Affected versions of this package are vulnerable to Directory Traversal. via improper validation of file paths received from FTP, SFTP, or SMB servers. A malicious or compromised server can write arbitrary files outside the configured local download directory by supplying crafted file paths during file transfer operations. This may allow overwriting or creating files at attacker-chosen locations on the client filesystem with attacker-controlled content.

CVSS Base Scores

version 4.0
version 3.1