


Perceptive Security
SOC/SIEM Consultancy

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') vulnerability in Apache Camel Docling component.
The camel-docling component…
Published:
5 juli 2026 om 22:00:00
Alert date:
6 juli 2026 om 20:03:55
Source:
nvd.nist.gov
Enterprise Applications, Supply Chain & Dependencies
CVE-2026-40047 is an Argument Injection vulnerability in the Apache Camel Docling component (camel-docling), affecting versions 4.15.0 through before 4.18.3. The component invokes the external 'docling' CLI tool via java.lang.ProcessBuilder, assembling arguments from exchange headers including CamelDoclingCustomArguments. The original implementation used a weak denylist-based validation that only rejected literal '../' path sequences, allowing attackers to inject unrecognized CLI flags and perform directory traversal through alternative traversal sequences. Because ProcessBuilder is used in list-based form, OS shell command injection via metacharacters was not possible, but CLI argument injection and path traversal remained exploitable. The fix, included in Apache Camel 4.19.0 and 4.18.3 (LTS), replaces the denylist with a strict allowlist of recognized docling CLI flags, adds metacharacter rejection, and normalizes path values using Path.normalize(). Users are advised to upgrade immediately and avoid mapping untrusted content into relevant Camel headers.
Technical details
Mitigation steps:
Affected products:
Apache Camel 4.15.0 - 4.18.2
Apache Camel camel-docling component
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-40047
https://camel.apache.org/security/CVE-2026-40047.html
http://www.openwall.com/lists/oss-security/2026/07/05/2
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
