Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 06, 2026
Argument injection and directory traversal in Apache Camel's camel-docling component (4.15.0 before 4.18.3) let attackers who can influence the CamelDoclingCustomArguments or path-bearing exchange headers inject unintended docling CLI flags and traversal-laden path values into the externally executed docling tool. Because the original DoclingProducer validation relied on a flag denylist and only rejected literal '../' sequences, crafted arguments could reach the subprocess and resolve files outside the intended directory, yielding high confidentiality and integrity impact but no OS command injection (ProcessBuilder uses the list form, so no shell interprets the values). There is no public exploit identified at time of analysis and the flaw is not in CISA KEV; EPSS is low (0.79%, 52nd percentile).
Earlier versions of this analysis (2)
Argument injection and directory traversal in the Apache Camel camel-docling component (versions 4.15.0 through 4.18.2) let attackers inject unintended CLI flags and traversal-based path values into the external docling tool invoked via ProcessBuilder. Any Camel route that maps externally-influenced data into the CamelDoclingCustomArguments or path-bearing headers is exposed, because the original denylist-plus-literal-../ validation was insufficient. No shell is involved, so OS command injection is not possible; the risk is unintended docling behavior and reads/writes outside the intended directory. This is CWE-88, carries an official CVSS of 9.1, has a modest EPSS of 0.79% (52th percentile), is not on CISA KEV, and no public exploit was identified at time of analysis.
Argument injection and directory traversal in the Apache Camel camel-docling component (versions 4.15.0 through 4.18.2) allow a Camel route that processes externally-influenced message data to pass unintended CLI flags or out-of-bounds file paths to the external docling subprocess invoked by DoclingProducer. The root cause is a denylist-based validation approach that accepted arbitrary unrecognized flags and missed path traversal sequences beyond a literal ../ check. No public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; however, vendor-released patches are available in 4.18.3 (LTS) and 4.19.0 (mainline) under fix ticket CAMEL-23212.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when Apache Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable but AC:H because a specific non-default route mapping untrusted data into the docling headers is required; C:H/I:H for out-of-directory read/write, A:N, no shell so no command execution.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.org
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') vulnerability in Apache Camel Docling component.
The camel-docling component invokes the external docling command-line tool by assembling an argument list in DoclingProducer and executing it through java.lang.ProcessBuilder. Custom CLI arguments supplied through the CamelDoclingCustomArguments exchange header (a List<String>) were appended to that argument list with insufficient validation: the original implementation relied on a denylist of disallowed flags and only rejected path values that contained a literal ../ sequence. As a result, a Camel route that forwards externally-influenced data into the CamelDoclingCustomArguments header (or into the path-bearing headers used to build the invocation) could cause the producer to pass unrecognized or unintended docling CLI flags to the subprocess, and could supply path-like argument values that resolved outside the intended directory through traversal sequences not caught by the literal ../ check. Because Camel itself builds the docling invocation from these values, the component is responsible for constraining them, and the weak validation allowed CLI-argument injection and directory traversal in the arguments passed to the external tool. The invocation uses the list-based form of ProcessBuilder, so a shell does not interpret the argument values; OS command injection through shell metacharacters was not possible, and the metacharacter rejection added by the fix is defense-in-depth. This issue affects Apache Camel: from 4.15.0 before 4.18.3.
Users are recommended to upgrade to a release that contains the CAMEL-23212 fix. On the mainline the fix is included from Apache Camel 4.19.0 (and later releases such as 4.20.0). For users on the 4.18.x LTS releases stream, upgrade to 4.18.3. The fix replaces the denylist with a strict allowlist of recognized docling CLI flags (rejecting any unrecognized flag, and rejecting producer-managed flags such as the output-directory flags), defensively rejects shell metacharacters in argument values, and normalizes path-like values with Path.normalize() before validating them so that traversal sequences which bypass a literal ../ check are detected. As defence in depth, route authors should avoid mapping untrusted message content into the CamelDoclingCustomArguments header and the path-bearing headers, and should strip Camel-internal headers from messages that arrive from untrusted producers.
Blast Radius
ecosystem impact- 3 maven packages depend on org.apache.camel:camel-docling (2 direct, 1 indirect)
Ecosystem-wide dependent count for version 4.15.0.
Articles & Coverage 1
Executive ViewAI
Apache Camel's camel-docling component (versions 4.15.0-4.18.2) contains a directory traversal vulnerability that could allow attackers to read files outside intended directories, potentially exposing sensitive configuration or application data. This affects any organization running the vulnerable versions in production environments. Patching is critical to prevent unauthorized information disclosure.
Within 24 hours: Identify all systems running Apache Camel camel-docling versions 4.15.0 through 4.18.2 and document exposure scope. Within 7 days: Deploy Apache Camel version 4.18.3 or later to all affected systems. Within 30 days: Complete functional testing and validation of the patched version in production to confirm stability and compatibility.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Apache Camel
View allRemote code execution in Apache Camel's camel-coap component (versions 4.14.0-4.14.5, 4.18.0 before 4.18.1, and 4.19.0)
Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS
Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1
Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag
Header-filter bypass in the Apache Camel Undertow component (4.11.0-4.14.8, 4.15.0-4.18.3, and 4.19.0-4.21.x) lets remot
Remote code execution in Apache Camel 3.18.0-4.14.5 and 4.15.0-4.18.1 stems from CXF and Knative HeaderFilterStrategy im
Message header injection in Apache Camel's camel-mail component (3.0.0 before 4.14.6 and 4.15.0 before 4.18.1) lets an a
Path traversal in Apache Camel's remote-file consumers (including the azure-files component) lets a directory-listing en
Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct
Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem
Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and
Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)
EUVD-2026-41823
GHSA-rpv3-6645-2vqc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB