Command Injection Vulnerability in Apache Camel Docling Component
CVE-2026-40047
Key Information:
- Vendor
Apache
- Status
- Vendor
- CVE Published:
- 6 July 2026
Badges
What is CVE-2026-40047?
A command injection vulnerability exists in the Apache Camel Docling component due to improper validation of custom CLI arguments. The vulnerability arises when the DoclingProducer constructs an argument list for the external 'docling' command-line tool, where insufficient validation may allow an attacker to inject unrecognized or unintended CLI flags. This occurs because the existing denylist mechanism fails to block path-like values effectively. Attackers could leverage this flaw to execute commands that traverse outside permitted directories, posing a risk of unauthorized access. Users are advised to upgrade to version 4.19.0 or later to incorporate a fix that employs a strict allowlist for CLI flags and enhances argument validation.
Affected Version(s)
Apache Camel 4.15.0 < 4.18.3
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved