Relative Path Traversal Affecting org.apache.camel:camel-google-storage package, versions [4.0.0,4.14.9)[4.15.0,4.18.4)[4.19.0,4.22.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-19318517
  • published27 Aug 2026
  • disclosed24 Aug 2026
  • creditn0mi1k

Introduced: 24 Aug 2026

NewCVE-2026-66907  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-google-storage to version 4.14.9, 4.18.4, 4.22.0 or higher.

Overview

Affected versions of this package are vulnerable to Relative Path Traversal through the downloadFileName process. An attacker can create or overwrite files outside the intended directory by supplying specially crafted object names containing parent-directory segments in a Google Cloud Storage bucket consumed by the component. This allows writing arbitrary files on the local filesystem with the privileges of the running process. This is only exploitable if the filter option is not set to restrict object names to single-segment values.

Workaround

This vulnerability can be mitigated by setting the filter option to a regular expression that only allows simple single-segment object names, or by configuring downloadFileName to use an explicit expression that does not include the remote path.

References

CVSS Base Scores

version 4.0
version 3.1