CVE-2026-59416 PUBLISHED

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

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
CVSS Score: 7

Product Status

Vendor Spring
Product Spring Integration
Versions
  • affected from 7.1.0 to 7.1.2.1 (excl.)
  • affected from 7.0.0 to 7.0.7.1 (excl.)
  • affected from 6.5.0 to 6.5.12 (excl.)
  • affected from 6.4.0 to 6.4.14 (excl.)
  • affected from 0 to 5.5.23 (excl.)
  • affected from 7.1.0 to 7.1.3 (excl.)
  • affected from 7.0.0 to 7.0.8 (excl.)

Credits

  • This vulnerability was discovered and responsibly reported by anand1139 .

References