Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.1CVE-2026-129902

Apache Camel FTP component: CRLF injection of FTP commands via file names

Published 03/12/2026 · Updated 03/12/2026 · Apache Camel

Summary

The camel-ftp component in Apache Camel (FtpOperations and FtpsOperations) passed file and directory names straight onto the FTP control connection without validation. If a name contains a carriage return (CR) or line feed (LF), the FTP server executes an additional injected FTP command beyond the intended operation.

Per the CVSS vector (7.1, high), the attack is network-based, low complexity, requires low privileges (the attacker must be able to influence a file or directory name processed by Camel) and needs no user interaction. The impact is high on integrity (execution of unintended FTP commands on the server, e.g. modifying or deleting data) and low on availability; confidentiality is not directly affected.

Fixed releases reject file and directory names containing CR or LF before they reach the control connection. The vulnerability is not listed in the CISA KEV catalog.

Who is affected

Organizations running Apache Camel 4.0.0 – 4.18.5, 4.19.0 – 4.22.2 or 4.23.x with the camel-ftp component (FTP/FTPS) in integration routes.

What to do

  1. Upgrade to Apache Camel 4.24.0.
  2. On the 4.22.x LTS stream, upgrade to 4.22.3; on the 4.18.x LTS stream, upgrade to 4.18.6.
  3. Check exposure: inventory applications and dependencies (e.g. Maven/Gradle) that include camel-ftp and determine whether they use affected versions.
  4. Until upgraded, review routes where file or directory names come from untrusted sources (message headers, user input) and inspect FTP server logs for unexpected commands.
  5. Follow the official advisory: https://camel.apache.org/security/CVE-2026-129902.html

Vendor solution

Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Original text from the vendor's CVE record.

Affected products and versions

Apache Software Foundation Apache Camel4.0.0 – < 4.18.6 · 4.19.0 – < 4.22.3 · 4.23.0 – < 4.24.0Fixed in: 4.18.6 · 4.22.3 · 4.24.0

CVSS vector, explained

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

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
High impact
Availability
Low impact

Weakness type (CWE)

  • CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.