Intel

AIKIDO-2026-148678

camel-docling is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2026-95628Published 5 days ago
November 2, 2026

54

CVE Score

Medium

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the org.apache.camel:camel-docling package to a fixed release on your branch: 4.18.5, 4.22.2.

Who does this affect?

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.

Versions

4.15.0 - 4.18.4

Fixed in 4.18.5

4.19.0 - 4.22.1

Fixed in 4.22.2

Background info

camel-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.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea