Spring Integration FTP SITE chmod Command Injection via Message-Controlled Remote Path

HIGH | NOVEMBER 19, 2026 | CVE-2026-59416

Description

Spring Integration FTP/FTPS outbound components (FtpMessageHandler and FtpOutboundGateway) build a textual FTP SITE chmod command by concatenating the remote file path into the command argument. If chmod is enabled and the remote filename or directory is derived from untrusted message data (for example, the FileHeaders.FILENAME header used by the default DefaultFileNameGenerator), a crafted value containing CRLF characters can inject additional FTP commands on the same control connection.

An attacker who can influence the remote filename or path can execute unintended FTP control commands with the privileges of the configured FTP account. Depending on server permissions, the impact can include deletion, renaming, permission changes, or other server-supported FTP/SITE operations.

An application is affected if it uses the Spring Integration FTP outbound channel adapter or gateway with the chmod option set and the remote file name or remote directory can be controlled by an untrusted message sender.

Affected Spring Products and Versions

Spring Integration:

  • 7.1.0 - 7.1.2
  • 7.0.0 - 7.0.7
  • 6.5.0 - 6.5.11
  • 6.4.0 - 6.4.13
  • 5.5.22 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.1.3OSS
7.1.2.1Enterprise Support Only
7.0.8OSS
7.0.7.1Enterprise Support Only
6.5.12Enterprise Support Only
6.4.14Enterprise Support Only
5.5.23Enterprise Support Only

No further mitigation steps are necessary.

Credit

This vulnerability was discovered and responsibly reported by anand1139.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all