CVE-2026-66906: CWE-23 Relative path traversal in Apache Software Foundation Apache Camel
Description
CVE-2026-66906 is a critical relative path traversal vulnerability in the Apache Camel Azure Storage Blob component. It allows an attacker who can influence blob names in an Azure Storage container to cause Camel to write files outside the intended directory on the local filesystem. This occurs because the component does not normalize or restrict blob names containing parent-directory segments when downloading blobs to files. The vulnerability 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. Fixed versions are available, and users are advised to upgrade to these fixed releases. Alternative mitigations include filtering blob names with regex or avoiding the vulnerable operation on untrusted containers.
CVSS v3.1
Score 9.1critical
Affected software
Apache Software Foundation
Apache Camel
pkg:maven/Apache Software Foundation/org.apache.camel:camel-azure-storage-blobRun 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 Apache Camel Azure Storage Blob component's downloadBlobToFile operation constructs local file paths by directly joining the configured fileDir with blob names obtained from Azure Storage without lexical normalization or containment checks. Because Azure Storage blob names can include parent-directory segments, this allows a relative path traversal that can cause files to be created or overwritten outside the intended directory, with the privileges of the Camel process. The vulnerability affects Apache Camel versions >=4.0.0 <4.14.9, >=4.15.0 <4.18.4, and >=4.19.0 <4.22.0. The issue is fixed in Apache Camel 4.14.9, 4.18.4, and 4.22.0. Mitigations include upgrading to these versions, filtering blob names using the regex endpoint option to exclude path separators or parent-directory segments, or avoiding the downloadBlobToFile operation on untrusted containers.
Potential Impact
An attacker able to influence blob names in an Azure Storage container consumed by Apache Camel can cause arbitrary files to be created or overwritten outside the configured download directory on the local filesystem. This can lead to loss of file integrity and potentially escalate to further compromise depending on the permissions of the Camel process and the files overwritten. The vulnerability has a CVSS 3.1 score of 9.1 (critical), indicating high confidentiality and integrity impact without availability impact.
Mitigation Recommendations
A fix is available. Users should upgrade to Apache Camel versions 4.14.9, 4.18.4, or 4.22.0 depending on their release stream. For deployments unable to upgrade immediately, users can mitigate by configuring the regex endpoint option to restrict blob names to simple single-segment names without path separators or parent-directory segments, preventing traversal. Alternatively, avoid using the downloadBlobToFile operation on untrusted containers and instead write payloads under controlled file names. Treat blob names from externally writable containers 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-28T09:25:00.103Z
- State
- PUBLISHED
- Is Cloud Service
- true
Threat ID: 6a8c7117acd9273b49d27da3
Added to database: 08/24/2026, 16:28:07 UTC
Last enriched: 09/10/2026, 10:08:06 UTC
Last updated: 10/07/2026, 06:48:18 UTC
Views: 82
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.