CVE-2026-66907 reveals a path traversal vulnerability in the camel-google-storage component where the downloadFileName parameter lacks the path-segment boundary checks that sibling components like camel-ftp, camel-smb, and camel-azure-files enforce by design. When a Google Cloud Storage object name contains path separators (e.g., ../../../etc/passwd), the component writes to the local filesystem without containment, allowing arbitrary file write into directories the process can access.

What makes this more than a simple vulnerability is the architectural amplification at play. Unlike FTP servers, which canonicalize paths and often mangle traversal payloads upstream, GCS object names are opaque UTF-8 keys that arrive at your filesystem exactly as written. This means traversal payloads that would fail against FTP work against GCS. Additionally, the blast radius crosses trust boundaries you may not intend: if your bucket is shared with third-party integrations or other processes that write object names derived from untrusted input, an attacker need not compromise your Camel application directly — they write a malicious object name to the bucket, and your consumer writes the payload to disk.

The filter option provides a workaround: set it to a regex rejecting path separators (e.g., filter="^[^/\]+$"). However, this option was documented as a content-filtering mechanism, not a security boundary. A developer who omitted filter was making a reasonable choice based on the documentation — the absence of containment was invisible.

The underlying question is structural: Camel has parallel file-download consumers across storage backends, and the security pattern was established in some components years ago while camel-google-storage shipped without it. The fix in version 4.22.0 closes this gap, but the ecosystem lacks a mechanism to guarantee new components don't reintroduce solved problems. Audit your camel-google-storage deployments — if downloadFileName is derived from untrusted object names and filter isn't configured, you have the same exposure this CVE describes.