Path traversal in Apache Camel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
Relative path traversal vulnerability in Apache Camel Azure Storage Blob component. This 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. The 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. Users 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel | 4.0.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 | 4.14.9, 4.18.4, 4.22.0 | Patch available | CNA |
| — | org.apache.camel:camel-azure-storage-blob (Maven) | 4.0.0 to before 4.14.9 | 4.14.9 | Patch available | GHSA-2x37-89hj-2j95 |
| — | org.apache.camel:camel-azure-storage-blob (Maven) | 4.15.0 to before 4.18.4 | 4.18.4 | Patch available | GHSA-2x37-89hj-2j95 |
| — | org.apache.camel:camel-azure-storage-blob (Maven) | 4.19.0 to before 4.22.0 | 4.22.0 | Patch available | GHSA-2x37-89hj-2j95 |
- Apache Camel VendorApache Affected 4.0.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 Fixed in 4.14.9, 4.18.4, 4.22.0 Patch available CNA
- org.apache.camel:camel-azure-storage-blob (Maven) Vendor— Affected 4.0.0 to before 4.14.9 Fixed in 4.14.9 Patch available GHSA-2x37-89hj-2j95
- org.apache.camel:camel-azure-storage-blob (Maven) Vendor— Affected 4.15.0 to before 4.18.4 Fixed in 4.18.4 Patch available GHSA-2x37-89hj-2j95
- org.apache.camel:camel-azure-storage-blob (Maven) Vendor— Affected 4.19.0 to before 4.22.0 Fixed in 4.22.0 Patch available GHSA-2x37-89hj-2j95
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* | 4.0.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 | Vulnerable | Apache |
- cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 Vulnerable ·Apache
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.14.9, 4.18.4, 4.22.0
- Fix · GHSA-2x37-89hj-2j95 org.apache.camel:camel-azure-storage-blob (Maven) Fixed in 4.14.9 Advisory →
- Fix · GHSA-2x37-89hj-2j95 org.apache.camel:camel-azure-storage-blob (Maven) Fixed in 4.18.4 Advisory →
- Fix · GHSA-2x37-89hj-2j95 org.apache.camel:camel-azure-storage-blob (Maven) Fixed in 4.22.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.14.9, 4.18.4, 4.22.0
6 records Highest priority Priority MEDIUM 4 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-54491 Improper input validation in Apache CamelPriority MEDIUM 50
- TI-2026-49962 Apache Camel: Camel-Atmosphere-Websocket: WebSocket dispatch header injectionPriority MEDIUM 50
- TI-2026-47479 Path traversal in Apache CamelPriority MEDIUM 40
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-66906
- 2026-10-03 Alias added: GHSA-2x37-89hj-2j95
- 2026-11-04 Affected versions changed · Red Hat
- 2026-11-04 CVSS score added · Red Hat
References
Advisory 3
Other 11
- https://github.com/apache/camel/pull/24581
- https://github.com/apache/camel/pull/24582
- https://github.com/apache/camel/pull/24585
- https://github.com/apache/camel/commit/007929bb732a8c5e3e49d4d3c6c8adc2aab13340
- https://github.com/apache/camel/commit/55fcbaf8bc1936cae90abdea5adecbc43e57340e
- https://github.com/apache/camel/commit/857d0cd3024b706ce80f3d2a4aa111e5e94a3e59
- https://github.com/apache/camel
- https://github.com/apache/camel/releases/tag/camel-4.14.9
- https://github.com/apache/camel/releases/tag/camel-4.18.4
- https://github.com/apache/camel/releases/tag/camel-4.22.0
- https://issues.apache.org/jira/browse/CAMEL-23942
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-66906 · CVE Program
- CVE-2026-66906 · NVD
- FIRST EPSS
- GHSA-2x37-89hj-2j95 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-66906 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences