Skip to main content

Apache Camel CVE-2026-79986

| EUVDEUVD-2026-104216 CRITICAL
Path Traversal (CWE-22)
2026-10-19 apache GHSA-pw2m-67gx-9wx2
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control or on-path intercept of remote server
  2. Delivery
    Return crafted listing name with ../ segments
  3. Exploit
    Camel concatenates path without normalization
  4. Execution
    Resolve operand outside polled directory
  5. Impact
    Read, 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Oct 19, 2026 - 11:23 CVSS 7.4

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

Apache Camel 4.0.0 <4.18.5
Apache Camel 4.19.0 <4.22.1

Affected Packages

euvd apache_camel fix: 4.18.5, 4.22.1

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

Vendor (apache) PRIMARY HIGH
NVD 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 7.4 HIGH

Primary rating from Vendor (apache).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Updated
Nov 03, 2026 - 20:28 vuln.today
v2 - CVSS changed
Severity Changed
Nov 03, 2026 - 20:22 NVD
HIGH CRITICAL
CVSS changed
Nov 03, 2026 - 20:22 NVD
7.4 (HIGH) 9.1 (CRITICAL)
CVE Published
Oct 19, 2026 - 10:25 cve.org
HIGH 7.4

DescriptionNVD

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
Apache Camel is widely deployed, but the azure-files remote consumer is a niche component
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-33453 CRITICAL POC
10.0 Apr 27

Remote 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)

CVE-2026-40858 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS

CVE-2026-78162 CRITICAL
10.0 Oct 19

Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1

CVE-2026-71300 CRITICAL
9.8 Aug 24

Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag

CVE-2026-78329 CRITICAL
9.8 Aug 24

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

CVE-2026-47323 CRITICAL
9.8 May 19

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

CVE-2026-33454 CRITICAL
9.4 Apr 27

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

CVE-2026-79983 CRITICAL
9.1 Oct 19

Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct

CVE-2026-115689 CRITICAL
9.1 Dec 03

Authentication bypass in the camel-netty-http component of Apache Camel allows unauthenticated network callers to reach

CVE-2026-88900 HIGH
8.8 Oct 19

Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem

CVE-2026-46590 HIGH
8.8 Jul 06

Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and

CVE-2026-27172 HIGH
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy