Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-66907: CWE-23 Relative path traversal in Apache Software Foundation Apache Camel

0
High
VulnerabilityCVE-2026-66907cvecve-2026-66907cwe-23
Published: 08/24/2026 (08/24/2026, 16:13:04 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel

Description

CVE-2026-66907 is a relative path traversal vulnerability in the Apache Camel Google Storage component that allows an attacker to cause the consumer to write files outside the intended download directory. This occurs because the object names from Google Cloud Storage are used directly to build local file paths without proper normalization or containment checks. 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. The issue is fixed in Apache Camel 4.14.9, 4.18.4, and 4.22.0. Users unable to upgrade immediately can mitigate by setting a filter to restrict object names or by using an explicit expression for downloadFileName that avoids passing the remote path. The vulnerability is consumer-only and does not affect the producer component.

Affected software

Apache Software Foundation/org.apache.camel:camel-google-storage
pkg:maven/Apache Software Foundation/org.apache.camel:camel-google-storage
Affected versions
>=4.0.0 <4.14.9>=4.15.0 <4.18.4>=4.19.0 <4.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/24/2026, 16:37:28 UTC

Technical Analysis

The Apache Camel Google Storage consumer downloads objects from Google Cloud Storage to the local filesystem using the downloadFileName option. When this option is set without expression tokens, the consumer appends the remote object name directly to the configured path without lexical normalization or containment checks. Since Google Cloud Storage object names can include parent-directory segments (e.g., '../'), this allows an attacker who can influence object names in the bucket to cause files to be created or overwritten outside the intended directory. This path traversal vulnerability affects Apache Camel versions 4.0.0 up to but not including 4.14.9, 4.15.0 up to but not including 4.18.4, and 4.19.0 up to but not including 4.22.0. The flaw is limited to the consumer component and does not affect producers. The issue is fixed in versions 4.14.9, 4.18.4, and 4.22.0. Mitigations include upgrading to fixed versions, applying a filter to restrict object names to simple single-segment names, or using an explicit expression for downloadFileName that avoids passing the remote path. Users should treat object names in externally writable buckets as untrusted input.

Potential Impact

An attacker able to influence object names in a Google Cloud Storage bucket consumed by Apache Camel can cause the consumer to write files outside the configured download directory. This can lead to arbitrary file creation or overwriting with the privileges of the Camel process, potentially resulting in loss of file integrity or escalation of impact depending on the writable locations accessible to the process. The vulnerability is limited to the consumer component of the camel-google-storage integration and does not affect producers or other Camel file-download consumers.

Mitigation Recommendations

A fix is available in Apache Camel versions 4.14.9, 4.18.4, and 4.22.0. Users are strongly recommended to upgrade to one of these versions. For deployments that cannot upgrade immediately, users should set the filter option to a regular expression that only accepts simple single-segment object names, excluding any names containing path separators or parent-directory segments. Alternatively, users can configure downloadFileName with an explicit expression that does not propagate the remote path, such as using ${file:onlyname}. As a defense in depth, treat object names in externally writable buckets as untrusted input and avoid deriving local filesystem paths directly from them.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-07-28T09:28:37.811Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6a8c7117acd9273b49d27da5

Added to database: 08/24/2026, 16:28:07 UTC

Last enriched: 08/24/2026, 16:37:28 UTC

Last updated: 08/24/2026, 16:45:49 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses