camel-docling is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
54
CVE Score
Medium
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
DoclingProducer.addCustomArguments passed values from the CamelDoclingCustomArguments message header to the external docling CLI, and validatePathSafety rejected relative traversal but accepted absolute paths. An externally influenced absolute path in a path-valued custom argument, such as --artifacts-path, could make docling use artifacts from a directory outside the intended working directory, potentially affecting document conversion integrity. The path is reachable in CLI mode (the default) only when a route forwards externally controlled values into that header; consumers such as JMS and Kafka that apply Camel's default header filtering remove the Camel header namespace at the consumer boundary.
Upgrade the org.apache.camel:camel-docling package to a fixed release on your branch: 4.18.5, 4.22.2.
You are affected if you use a version within the vulnerable range, route documents through the Camel Docling producer component in CLI mode (the default), and forward externally influenced values into the CamelDoclingCustomArguments message header.
4.15.0 - 4.18.4
Fixed in 4.18.54.19.0 - 4.22.1
Fixed in 4.22.2camel-docling is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in versions 4.15.0 - 4.18.4 and 4.19.0 - 4.22.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.