Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or on-path intercept of remote server
-
DeliveryReturn crafted listing name with ../ segments
-
ExploitCamel concatenates path without normalization
-
ExecutionResolve operand outside polled directory
-
ImpactRead, delete, or rename files beyond boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | A Camel remote-file consumer must be polling a remote directory, and the remote server must return a directory-listing entry whose name is NOT a single path segment (i.e. contains parent-directory '../' segments). Supplying that name requires one of: a compromised, malicious, or multi-tenant remote server; a server backed by a virtual filesystem; or an on-path attacker rewriting an FTP LIST response (the FTP control channel carries no integrity protection, enabling this without credentials). File RETRIEVAL is reachable in a default consumer configuration because remote consumers download every listed file; DELETION additionally requires delete=true, and RENAMING requires one of move, preMove, moveFailed, or readLock=rename. Limiting factors specific to this artifact: the azure-files scheme talks to the Azure Files REST service, which does not normally emit such listing names, and runs over HTTPS (making on-path rewrite impractical), so exploiting this scheme in practice requires an abnormal or hostile backing service. Note also that the jailStartingDirectory option - enabled by default and documented as restricting Camel to the starting directory - did NOT constrain this remote operand before the fix, so defenders could not rely on it here; the patch adds a containment check gated on that option. |
| Impact | Signals diverge sharply, so the paper severity overstates the realistic threat to this specific component. The published CVSS is 9.1 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N), and vuln.today labels it act_now, yet every exploitation signal points the other way: EPSS is only 0.52% (43rd percentile), the vulnerability is NOT in CISA KEV, and the CISA SSVC decision records Exploitation: none and Automatable: no (only Technical Impact: total aligns with the high CVSS). There is no public exploit identified at time of analysis - the GitHub links are vendor patch PRs, not proof-of-concept code. Critically, the vendor's own text states that reaching the azure-files consumer requires a directory-listing name that is not a single path segment, 'which the Azure Files REST service does not normally return,' and that the fix was applied preventively 'rather than from a demonstrated proof of concept against this scheme.' The CVSS AC:L and PR:N therefore describe the generic remote-file trust model (an unauthenticated on-path attacker can rewrite an integrity-free FTP LIST response), but for the azure-files scheme over HTTPS that precondition is far harder to meet, so AC:L is optimistic for this artifact. Net: a genuinely high technical impact (read/delete/rename of files outside the polled directory using the endpoint's credentials) gated behind a precondition - a malicious, compromised, multi-tenant, or virtual-filesystem-backed remote server, or TLS interception - that the normal Azure Files service does not satisfy. Treat as a patch-promptly issue per the act_now label, but the low EPSS and SSVC 'Exploitation: none' indicate no widespread or automatable exploitation, consistent with a preventively-hardened code path rather than an actively attacked one. |
| Exploit ScenarioDerived | A Camel route runs an azure-files (or other remote-file) consumer polling a directory; an attacker who controls or is on-path to the backing server returns a directory-listing entry containing parent-directory segments (e.g. '../secret.txt') instead of a plain file name. Camel concatenates this name onto the configured directory without normalization or containment checks, so the resolved path escapes the polling directory and the file is read - and, if delete=true or a move/preMove/moveFailed/readLock=rename disposition is set, deleted or renamed - outside that directory using the endpoint's own credentials. No public exploit identified at time of analysis, and the vendor notes the Azure Files REST service does not normally emit such a listing name, so the azure-files scheme specifically requires an anomalous or malicious backing service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 03, 2026
Path traversal in Apache Camel's remote-file consumers (including the azure-files component) lets a directory-listing entry containing parent-directory segments resolve outside the polled directory, so Camel reads, deletes or renames files with the endpoint's own credentials. Retrieval is reachable in a default consumer configuration, while deletion requires delete=true and renaming requires move, preMove, moveFailed or readLock=rename; the vulnerable name comes from the remote server, not from the route, and an on-path attacker can inject it by rewriting an unprotected FTP LIST response. Affected are Apache Camel 4.0.0 to 4.18.4 and 4.19.0 to 4.22.0; fixes are 4.18.5, 4.22.1 and 4.23.0. No public exploit was identified at time of analysis, EPSS is low at 0.52% (43rd percentile) and SSVC records Exploitation: none, but the realism of the 9.1 vendor score is reduced for this specific scheme because the Azure Files REST service does not normally return such listing names and is reached over HTTPS, so practical exploitation needs an abnormal or hostile backing service. The trigger requires an attacker-influenced listing rather than a default deployment, but the resulting file access is total where it succeeds.
Earlier versions of this analysis (1)
Path traversal in Apache Camel's remote-file consumers - the azure-files scheme named in this CVE plus the FTP/SFTP consumers sharing the RemoteFileConsumer base class - lets a malicious, compromised, or multi-tenant remote file server (or an on-path attacker on the integrity-free FTP control channel) cause Camel to read, delete, or rename files outside the directory it was configured to poll, using the endpoint's own credentials. Retrieval is reachable in the default consumer configuration because remote consumers download every listed file; deletion and renaming additionally require delete=true, move, preMove, moveFailed, or readLock=rename. The jailStartingDirectory option, enabled by default and documented as a boundary, did not constrain this remote operand before the fix, so it offered no protection; triggering the traversal requires control over a listing name returned by the server, and for azure-files specifically the Azure Files REST service does not normally return multi-segment names, making exploitation there impractical. No public exploit code or confirmed active exploitation was identified at time of analysis; vendor patches are available.
RemediationAI
Upgrade to Apache Camel 4.23.0, which fixes the issue; users on the 4.22.x releases stream should upgrade to 4.22.1 and users on the 4.18.x LTS stream to 4.18.5, while the end-of-life 4.14.x stream receives no fix and should be moved to a supported stream. Patch commits are visible in apache/camel PRs 25730, 25745, 25746 and 25747, and the vendor advisory is at https://camel.apache.org/security/CVE-2026-79986.html with tracking in https://issues.apache.org/jira/browse/CAMEL-24487. Note that the jailStartingDirectory option, although enabled by default, did not constrain this remote operand before the fix, so it cannot be used as a workaround; the patch only adds the containment check gated on that option. Since retrieval is reachable in a default consumer configuration while deletion requires delete=true and renaming requires move, preMove, moveFailed or readLock=rename, removing those disposition options from remote-file endpoints limits the impact to unauthorized reads (and renames/deletes can no longer be driven), at the cost of losing move/delete processing in the route. Because the malicious name is supplied by the remote server, pointing consumers only at servers that are trusted and not multi-tenant, and preferring integrity-protected transports over the unprotected FTP control channel, reduces the injection surface for on-path rewriting.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) in the shared remote-file consumer machinery of Apache Camel, class of code that polls a remote directory and turns each listing entry into an absolute remote path. FtpUtils.absoluteFilePath and GenericFileConsumer built that path by plain concatenation of the configured directory and the server-reported file name, with no lexical normalization and no containment check, and the result became the operand for retrieval (FtpOperations.retrieveFile / SftpOperations, via GenericFileConsumer taking the name verbatim from GenericFile.getAbsoluteFilePath), for deletion with delete=true (GenericFileDeleteProcessStrategy) and for renaming with move, preMove, moveFailed or readLock=rename (GenericFileProcessStrategySupport and GenericFileRenameExclusiveReadLockStrategy). Neither isValidFile nor isMatched checked containment. The azure-files scheme inherits this because its consumer derives from the same RemoteFileConsumer base class and composed the path through the same concatenation helper. Crucially, the jailStartingDirectory option - documented as restricting Camel to the starting directory and enabled by default - governed producer writes and, since earlier localWorkDirectory containment work, consumer downloads to the local work directory, but did not constrain this remote operand, so its stated boundary was not enforced here. The upstream patch (apache/camel PR 25730 and follow-ups) adds GenericFileConsumer.isWithinStartingDirectory, consulted only when isJailStartingDirectory() is enabled, and a separator-aware GenericFileHelper.isWithinDirectory that compacts the target, rejects targets still resolving upward after compaction, and compares against the directory boundary using '/' for remote paths rather than the platform File.separatorChar. Unit tests added with the patch confirm that sibling names such as 'pollute/file.txt' against 'poll' are not contained and that '../secret.txt' is rejected. The trigger requires a listing name that is not a single path segment; for the azure-files scheme the Azure Files REST service does not normally emit one and the transport is HTTPS, so the exposure was corrected on the same basis as other remote-file consumers rather than from a demonstrated exploit against this scheme.
Know when Apache Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable and needs no privileges on Camel (PR:N), but requires a malicious/on-path server emitting a non-segment listing name the Azure Files REST service does not normally return, so AC:H; read plus delete/rename give C:H/I:H, A:N.
Primary rating from Vendor (apache).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel Azure Files component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
The 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 azure-files scheme. Its consumer derives from the same RemoteFileConsumer base class and composed the remote path through a plain concatenation helper, so it inherited the same unconstrained resolution. Reaching it requires a listing name that is not a single path segment, which the Azure Files REST service does not normally return; the exposure was corrected on the same basis as the other remote-file consumers rather than from a demonstrated proof of concept against this scheme.
Upgrade 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.
Articles & Coverage 1
Executive ViewAI
Apache Camel remote-file consumers, including the Azure Files component, are vulnerable to a critical path traversal flaw that could allow unauthorized file access, deletion, or renaming using the endpoint's credentials. This affects organizations using affected Camel versions for integration, potentially exposing sensitive data or causing data loss, though exploitation requires specific conditions and no public exploit has been identified at time of analysis.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Apache Camel
View allRemote code execution in Apache Camel's camel-coap component (versions 4.14.0-4.14.5, 4.18.0 before 4.18.1, and 4.19.0)
Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS
Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1
Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag
Header-filter bypass in the Apache Camel Undertow component (4.11.0-4.14.8, 4.15.0-4.18.3, and 4.19.0-4.21.x) lets remot
Remote code execution in Apache Camel 3.18.0-4.14.5 and 4.15.0-4.18.1 stems from CXF and Knative HeaderFilterStrategy im
Message header injection in Apache Camel's camel-mail component (3.0.0 before 4.14.6 and 4.15.0 before 4.18.1) lets an a
Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct
Authentication bypass in the camel-netty-http component of Apache Camel allows unauthenticated network callers to reach
Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem
Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and
Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)
EUVD-2026-104216
GHSA-pw2m-67gx-9wx2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB