{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-79983","published":"2026-10-19T11:17:20.207000Z","last_modified":"2026-11-03T20:29:46.967000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"camel","version_start_including":"4.0.0","version_end_excluding":"4.18.5"},{"criteria":"cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"camel","version_start_including":"4.19.0","version_end_excluding":"4.22.1"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/camel"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-79983/","html_en":"/en/cve/CVE-2026-79983/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-79983","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-79983"},"untrusted":{"vendor_name":"Apache","product_name":"Camel","desc_en":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel FTP component.\n\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\n\n\nThe Camel remote-file consumers poll a directory on a remote server and build the absolute remote path of each file by concatenating the configured directory with the file name reported in the server's directory listing. That concatenation (FtpUtils.absoluteFilePath and GenericFileConsumer) applied no lexical normalization and no check that the result stayed inside the directory being polled, and the resulting path became the operand for every subsequent remote operation on the file: retrieval (FtpOperations.retrieveFile / SftpOperations, reached from GenericFileConsumer where the retrieve name is taken verbatim from GenericFile.getAbsoluteFilePath), deletion when delete=true (GenericFileDeleteProcessStrategy), and renaming when move, preMove, moveFailed or readLock=rename is configured (GenericFileProcessStrategySupport and GenericFileRenameExclusiveReadLockStrategy). Neither isValidFile nor isMatched performed any containment check. A listing entry that is not a single path segment therefore resolved to a path outside the configured polling directory, causing Camel to read, delete or rename files outside it using the endpoint's own credentials. A listing name is not route-controlled data. It is supplied by the remote server, and the FTP control channel carries no integrity protection at all, so an on-path attacker can rewrite a LIST response without holding any credentials; a compromised, malicious or multi-tenant server, or a server backed by a virtual filesystem, can emit such a name directly. Retrieval is reachable in a default consumer configuration, since the remote consumers download every listed file; deletion and renaming additionally require one of the disposition options above, all of which are common. Escape from the directory Camel was configured to poll is unconditional, while escape from the server's own account boundary additionally depends on whether that server confines the account. The jailStartingDirectory option, which is documented as restricting Camel to the starting directory and is enabled by default, governed producer writes and, since the localWorkDirectory containment work, consumer downloads to the local work directory - but it did not constrain this remote operand, so its name and description claimed a boundary that was not enforced here. The same entry point had already been recognised on the local side: the localWorkDirectory download path was constrained so that a remote file name containing parent-directory segments could not resolve outside the local work directory. The remote operand was the remaining half of that surface. This artifact provides the ftp, ftps and sftp schemes, all of which are affected. The reporter demonstrated the issue end to end against an ftp endpoint, driving a Camel route with a malicious server whose LIST response named a file outside the polled directory.\n\n\n\nUpgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. The 4.14.x stream reached end of life and does not receive this fix; users on it should move to a supported releases stream.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Camel","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"969dd89f65c6cb002f578f8606d82033","generated":"2026-11-26T22:05:03.606448Z","es":{"untrusted_title":"Traversal de ruta en componente FTP de Apache Camel","untrusted_summary":"Vulnerabilidad de traversal de ruta en los componentes FTP, FTPS y SFTP de Apache Camel que permite a un atacante leer, eliminar o renombrar archivos fuera del directorio configurado. Un servidor remoto malicioso o comprometido puede manipular la respuesta LIST para incluir nombres de archivo con segmentos de directorio padre, causando que Camel acceda a archivos fuera del directorio de sondeo usando las credenciales del endpoint."},"en":{"untrusted_title":"Path Traversal in Apache Camel FTP Component","untrusted_summary":"Path traversal vulnerability in Apache Camel FTP, FTPS, and SFTP components allows an attacker to read, delete, or rename files outside the configured directory. A malicious or compromised remote server can manipulate LIST responses to include file names with parent-directory segments, causing Camel to access files outside the polling directory using the endpoint's credentials."},"remediation":{"status":"fix","fixed_versions":["4.18.5","4.22.1","4.23.0"],"untrusted_action_es":"Actualiza Apache Camel a versión 4.23.0 o posterior; si usas 4.22.x, actualiza a 4.22.1; si usas 4.18.x LTS, actualiza a 4.18.5.","untrusted_action_en":"Upgrade Apache Camel to version 4.23.0 or later; if on 4.22.x stream, upgrade to 4.22.1; if on 4.18.x LTS stream, upgrade to 4.18.5.","vendor_url":"https://camel.apache.org/security/CVE-2026-79983.html"},"reviewed":false},"references":[{"url":"https://camel.apache.org/security/CVE-2026-79983.html","tags":["Mitigation","Patch","Vendor Advisory"]},{"url":"https://github.com/apache/camel/pull/25730","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/apache/camel/pull/25745","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/apache/camel/pull/25746","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/apache/camel/pull/25747","tags":["Issue Tracking","Patch"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-24487","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/oscerd/CVE-2026-79983","tags":["Third Party Advisory"]}]}}