Vulnerabilities in pkg:maven/org.apache.camel/camel-azure-storage-blob
PACKAGECVE-2026-66906 is a CRITICAL (CVSS 9.1) the downloadblobtofile operation built the vulnerability (CWE-23: Relative Path Traversal) affecting Apache Camel-Azure-Storage-Blob libraries in the Maven ecosystem. The issue involves the downloadblobtofile operation built the local download target from the remote blob name without constraining it to the configured filedir. Remediation is available by upgrading affected packages to version 4.14.9, 4.18.4, 4.22.0.
pkg:maven/org.apache.camel/camel-azure-storage-blob
Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-azure-storage-blob. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2x37-89hj-2j95 | CVE-2026-66906 | CRITICAL | Apache Camel-Azure-Storage-Blob: the downloadBlobToFile operation built the local download target from the remote blob name without constraining it to the configured fileDir |
CVE-2026-66906 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-66906
To remediate this vulnerability, upgrade all affected Apache Camel-Azure-Storage-Blob dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-storage-blob</artifactId>
<version>4.14.9</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-storage-blob</artifactId>
<version>4.18.4</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-storage-blob</artifactId>
<version>4.22.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.camel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-66906, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.camel
Analyze the terminal output to locate any version of Apache Camel-Azure-Storage-Blob in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.14.9), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.camel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. In Apache Camel-Azure-Storage-Blob, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-66906 Affected Apache Camel-Azure-Storage-Blob Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-azure-storage-blob
|
Maven |
≥ 4.0.0
< 4.14.9
|
4.14.9
|
|
org.apache.camel:camel-azure-storage-blob
|
Maven |
≥ 4.15.0
< 4.18.4
|
4.18.4
|
|
org.apache.camel:camel-azure-storage-blob
|
Maven |
≥ 4.19.0
< 4.22.0
|
4.22.0
|
References
Frequently Asked Questions
What is CVE-2026-66906?
Which Apache Camel-Azure-Storage-Blob versions are affected?
What version fixes CVE-2026-66906?
Is camel-azure-storage-blob affected?
What is the CVSS score of CVE-2026-66906?
What CWE is associated with CVE-2026-66906?
How can I check Maven dependencies for CVE-2026-66906?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2x37-89hj-2j95",
"modified" : "2026-08-28T21:54:20Z",
"published" : "2026-08-24T18:31:51Z",
"aliases" : [ "CVE-2026-66906" ],
"summary" : "Apache Camel-Azure-Storage-Blob: the downloadBlobToFile operation built the local download target from the remote blob name without constraining it to the configured fileDir",
"details" : "Relative path traversal vulnerability in Apache Camel Azure Storage Blob component.\n\nThis issue affects Apache Camel: from 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0.\n\nThe camel-azure-storage-blob component can download an Azure Storage blob to the local filesystem through its downloadBlobToFile operation, writing into the directory named by the fileDir endpoint option, which is documented as usable from both the producer and the consumer. BlobOperations.downloadBlobToFile built the local target by joining fileDir with the remote blob name exactly as the Azure SDK reported it (new File(fileDir, client.getBlobName())) and passed the result straight to the SDK download call, with no lexical normalization and no check that the resolved location stayed inside fileDir. The blob name is not route-controlled data: the consumer enumerates the container in BlobConsumer.createBatchExchangesFromContainer, which lists blobs and creates one exchange per entry from BlobItem.getName() verbatim, applying no name filtering by default. A blob name containing parent-directory segments therefore resolved to a location outside the configured fileDir, letting anyone able to influence the names present in the consumed container cause Camel to create or overwrite a file at a location of their choosing, with the privileges of the Camel process. Depending on what the process can write to, overwriting a file outside the download directory can escalate beyond the loss of integrity of that file. Azure Storage blob containers use a flat namespace in which the blob name is an opaque key, so a name carrying such segments is stored and listed as given. The fileDir option is an ordinary common-group configuration parameter and carries no security marker, so nothing signalled to users that its value was not being enforced as a containment boundary. Camel's other file-download consumers - camel-file, camel-ftp, camel-smb, camel-mina-sftp and camel-azure-files - already constrained their local downloads to the configured directory using a path-segment boundary check; the camel-azure-storage-blob download path was not covered by that work.\n\nUsers are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.4. For deployments that cannot upgrade immediately, constrain the names the consumer will act on using the regex endpoint option, which is applied to each listed blob name as a full-string match, so that only simple single-segment names are accepted and any name carrying a path separator or a parent-directory segment is filtered out before an exchange is created; the prefix option can additionally narrow the listing server-side, noting that when both are set regex takes priority and prefix is ignored. Alternatively, avoid the downloadBlobToFile operation on untrusted containers and write the payload from the route under a file name the route itself controls, rather than one taken from the remote listing. As defence in depth, treat the blob names in any externally writable container as untrusted input and do not derive local filesystem paths from them.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-azure-storage-blob"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.14.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-azure-storage-blob"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.15.0"
}, {
"fixed" : "4.18.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-azure-storage-blob"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.19.0"
}, {
"fixed" : "4.22.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-66906"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/24581"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/24582"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/24585"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/007929bb732a8c5e3e49d4d3c6c8adc2aab13340"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/55fcbaf8bc1936cae90abdea5adecbc43e57340e"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/857d0cd3024b706ce80f3d2a4aa111e5e94a3e59"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2026-66906.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.14.9"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.18.4"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.22.0"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-23942"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/08/24/10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-23" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-28T21:54:20Z",
"nvd_published_at" : "2026-08-24T17:18:06Z"
}
}