Impact
The consumer of the Camel‑Google‑Storage component constructs a local download path by concatenating the configured downloadFileName option with the remote object name without any lexical normalization or containment check. Because the object name is used verbatim, an attacker able to influence which objects are present in the bucket can cause Camel to write files outside the intended directory. This flaw can lead to arbitrary file overwrite or leakage of sensitive data on the host running the Camel process, and may further allow privilege escalation if critical system files are affected. The weakness corresponds to CWE‑23, relative path traversal.
Affected Systems
Apache Software Foundation’s Apache Camel is affected. The bug exists in Camel Google Storage consumer versions 4.0.0 through 4.14.8, 4.15.0 through 4.18.3, and 4.19.0 through 4.21.9. Users of any of those releases must check their exact version. The fixed versions are 4.14.9, 4.18.4, 4.22.0 and newer.
Risk and Exploitability
EPSS score is < 1% and the issue is not listed in CISA KEV. The likely attack vector is an attacker who can add objects to the monitored bucket with a name containing path traversal characters; this inference is based on the consumer listing the bucket and using each object’s name verbatim to build a local path. Because the flaw allows writing to arbitrary file paths when the attacker can control the bucket contents, the potential for high impact is significant, especially if the Camel process runs with elevated privileges. The CVSS score is 7.5. The risk assessment points to a low likelihood of exploitation in environments where an attacker has the ability to influence the bucket contents.
OpenCVE Enrichment
Github GHSA