CVE-2026-60093: CWE-23 Relative path traversal in Apache Software Foundation Apache Camel
Description
A relative path traversal vulnerability exists in the Apache Camel Azure-Storage Datalake component's downloadToFile operation. This flaw allows an attacker who can influence file names in the consumed Azure Data Lake filesystem to cause Camel to write files outside the intended directory, potentially overwriting arbitrary files with the privileges of the Camel process. The issue affects Apache Camel versions from 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, and from 4.19.0 before 4.22.0. Upgrading to Apache Camel 4.22.0 or the respective patch releases 4.14.9 or 4.18.4 mitigates this vulnerability.
CVSS v3.1
Score 5.5medium
Affected software
Apache Software Foundation
Apache Camel
pkg:maven/Apache Software Foundation/org.apache.camel:camel-azure-storage-datalakeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CWE-23) in Apache Camel's camel-azure-storage-datalake component arises because the downloadToFile operation constructs local file paths by directly joining the configured fileDir with remote file names from Azure Data Lake Storage Gen2 without lexical normalization or containment checks. Since the remote file names are enumerated from the Data Lake filesystem and not filtered by default, names containing parent-directory segments (e.g., '..') can cause files to be written outside the intended directory. This allows an attacker with influence over the Data Lake filesystem contents to overwrite arbitrary files on the local filesystem with the privileges of the Camel process. Other Camel file-download components enforce directory containment checks, but this component did not until fixed. The issue is fixed in Apache Camel 4.22.0, 4.14.9 (LTS), and 4.18.4. Workarounds include filtering path names with a regex to exclude path separators or parent-directory segments or avoiding downloadToFile on untrusted filesystems.
Potential Impact
An attacker able to influence file names in the Azure Data Lake filesystem consumed by Apache Camel can cause the application to write files outside the intended directory, potentially overwriting arbitrary files with the privileges of the Camel process. This can lead to loss of integrity of local files and possibly escalate to further impact depending on the permissions of the Camel process. The vulnerability does not impact confidentiality or availability directly but has a high impact on integrity.
Mitigation Recommendations
A fix is available in Apache Camel versions 4.22.0, 4.14.9 (LTS), and 4.18.4. Users are strongly recommended to upgrade to these versions to remediate the vulnerability. For deployments unable to upgrade immediately, mitigate by using the regex endpoint option to restrict consumed file names to simple single-segment names without path separators or parent-directory segments, preventing path traversal. Alternatively, avoid using the downloadToFile operation on untrusted filesystems and instead write payloads under route-controlled file names. Treat all object names in externally writable Data Lake filesystems as untrusted input and do not derive local filesystem paths directly from them.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-07-08T13:08:52.323Z
- State
- PUBLISHED
- Is Cloud Service
- true
Threat ID: 6a8c7117acd9273b49d27da1
Added to database: 08/24/2026, 16:28:07 UTC
Last enriched: 09/10/2026, 21:18:46 UTC
Last updated: 10/06/2026, 18:48:23 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.