CVE-2026-129902
Camel-FTP command injection - a CR or LF in a file or directory name sends an extra FTP command
Description
camel-ftp passed file and directory names straight onto the FTP control connection (FtpOperations and the FtpsOperations that extends it), so a name containing a carriage return or line feed injected a second FTP command that the server executed, letting a crafted file or directory name issue additional FTP commands beyond the intended operation. The fixed releases reject file and directory names that contain CR or LF before they reach the control connection.
Mitigation
Credit
This issue was discovered by Federico Mariani from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-27054 refers to the various commits that resolved the issue, and have more details.