The 5.5 CVSS score for this path traversal in camel-azure-storage-datalake obscures a more serious integrity-escalation risk. The vulnerability allows arbitrary file write on the local system where the Camel process runs, using paths enumerated from an Azure Data Lake filesystem via downloadToFile. The component takes PathItem.getName() verbatim and writes it to the configured fileDir without any path-segment boundary check — an attacker with write access to the consumed Data Lake can embed ../ sequences in path names and cause Camel to write files outside the intended directory.
This is not a typical external-attacker scenario. The exploit requires write access to the Azure Data Lake, which is often granted broadly in data pipeline contexts where multiple systems converge. In multi-tenant or shared-infrastructure Azure deployments, that write access may be far more broadly granted than the Camel process's own privileges. The attacker doesn't need to compromise Camel — they use Camel as an unintended file write proxy with all the process's local authority. This privilege inversion means the CVSS integrity score captures the primitive but not what follows: overwriting a cron job, SSH authorized_keys, a service configuration, or a shared library translates directly to code execution as the service account.
The architectural failure is more concerning than a typical oversight. Between 2022 and 2024, five other Camel file-download components received path-segment boundary checks — camel-file, camel-ftp, camel-smb, camel-mina-sftp, and camel-azure-files. The azure-storage-datalake component was omitted from that work, likely because reviewers scoped the audit around transport protocols (FTP, SMB, SFTP) rather than the invariant that any path-from-enumeration must be bounded. The implicit assumption that Azure-enumerated paths were more trustworthy than user-supplied paths was wrong. This is the third time this genetic sequence has appeared in Camel: CVE-2014-0048 in camel-ftp, CVE-2016-8748 in camel-file, and now this. Each patch addressed the reported operation without systematic audit, and each subsequent review found another operation that wasn't covered.
The recommended workaround — constraining the regex endpoint option to reject path separators — works but puts the burden on consumers to know they need to opt into safety. The fileDir parameter carries no security marker, and nothing in the component's documentation signals that it was not being enforced as a containment boundary. If operators treated fileDir as a hard boundary because that's what the other components did, they built data pipeline architectures on an assumption that wasn't enforced here. The fix in 4.22.0 adds the missing boundary check to downloadToFile, but examine whether the pattern was applied consistently across all download operations in this component, and whether similar enumeration-driven vulnerabilities exist in other Camel cloud connectors added in the 2023-2024 timeframe — camel-aws-kinesis, camel-google-functions, camel-azure-eventhubs — that may have inherited the same implicit trust assumption without receiving the boundary-check treatment.
Prioritize this vulnerability in environments where the Camel process runs as a service account with write access to system directories or can be leveraged for lateral movement. The low EPSS (0.00252) reflects probability of exploitation, not severity of the primitive — a well-placed arbitrary file write as a privileged process user is a proven stepping stone to runtime compromise.