CVE-2026-40047

CRITICALPre-NVD 9.19.1
EchelonGraph scoreMEDIUM confidence

Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-06. CISA-ADP (Vulnrichment) CVSS v3.1 baseline 9.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cisa-adp, epss, ghsa
Elevated
9.1EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 2%CVSS: 9.1Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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

CVSS v3
9.1
EG Score
9.1(medium)
EG Risk
57(Track)
EG Risk 57/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity91% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
2%
EPSS %ILE
83%
KEV
Not listed

Published

July 6, 2026

Last Modified

July 8, 2026

Advisory Details (2)

Auto-updated Sep 8, 2026
No patch confirmed yet.
generic

oss-security - CVE-2026-40047: Apache Camel: Camel-Docling: Insufficient validation of custom CLI arguments enables argument injection and path traversal in DoclingProducer

http://www.openwall.com/lists/oss-security/2026/07/05/2
generic

Apache Camel Security Advisory - CVE-2026-40047 - Apache Camel

https://camel.apache.org/security/CVE-2026-40047.html

Vendor Advisories for CVE-2026-40047(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
Maven(1)
PackageVulnerable rangeFixed inDependents
org.apache.camel:camel-docling4.15.0 ... 4.18.2 (6 versions)4.18.3

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 8× in last 7d / 119× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 353 total refreshes for this CVE.

  1. 2026-09-11 14:53 UTCEPSS rescore
  2. 2026-09-11 09:37 UTCEPSS rescore
  3. 2026-09-10 09:34 UTCEPSS rescore
  4. 2026-09-08 22:00 UTCEPSS rescore
  5. 2026-09-07 16:01 UTCEPSS rescore
  6. 2026-09-06 14:12 UTCEG score recompute
  7. 2026-09-06 13:47 UTCEPSS rescore
  8. 2026-09-05 23:15 UTCEG score recompute
  9. 2026-09-04 05:06 UTCEPSS rescore
  10. 2026-09-02 14:12 UTCEPSS rescore
  11. 2026-09-01 13:53 UTCEPSS rescore
  12. 2026-09-01 04:39 UTCEPSS rescore
  13. 2026-08-30 20:30 UTCEG score recompute
  14. 2026-08-30 19:17 UTCEPSS rescore
  15. 2026-08-30 08:29 UTCEG score recompute
  16. 2026-08-30 01:22 UTCEPSS rescore
  17. 2026-08-28 21:41 UTCEPSS rescore
  18. 2026-08-27 22:00 UTCEG score recompute
  19. 2026-08-27 14:25 UTCEPSS rescore
  20. 2026-08-27 02:22 UTCEG score recompute
  21. 2026-08-26 14:46 UTCEPSS rescore
  22. 2026-08-26 13:57 UTCGHSA enrichment
  23. 2026-08-25 16:02 UTCEG score recompute
  24. 2026-08-25 16:02 UTCGHSA enrichment
  25. 2026-08-25 13:49 UTCEPSS rescore
Show 75 more
  1. 2026-08-25 12:03 UTCGHSA enrichment
  2. 2026-08-25 07:54 UTCGHSA enrichment
  3. 2026-08-25 04:12 UTCGHSA enrichment
  4. 2026-08-25 00:29 UTCGHSA enrichment
  5. 2026-08-24 20:49 UTCEG score recompute
  6. 2026-08-24 20:49 UTCGHSA enrichment
  7. 2026-08-24 13:44 UTCGHSA enrichment
  8. 2026-08-24 10:04 UTCEG score recompute
  9. 2026-08-24 10:04 UTCGHSA enrichment
  10. 2026-08-24 04:06 UTCGHSA enrichment
  11. 2026-08-23 23:39 UTCGHSA enrichment
  12. 2026-08-23 19:59 UTCGHSA enrichment
  13. 2026-08-23 16:19 UTCGHSA enrichment
  14. 2026-08-23 12:32 UTCGHSA enrichment
  15. 2026-08-23 08:52 UTCGHSA enrichment
  16. 2026-08-23 05:12 UTCGHSA enrichment
  17. 2026-08-23 01:31 UTCEG score recompute
  18. 2026-08-23 01:31 UTCGHSA enrichment
  19. 2026-08-23 00:19 UTCEPSS rescore
  20. 2026-08-22 21:48 UTCGHSA enrichment
  21. 2026-08-22 18:07 UTCGHSA enrichment
  22. 2026-08-22 12:24 UTCGHSA enrichment
  23. 2026-08-22 08:30 UTCGHSA enrichment
  24. 2026-08-22 04:50 UTCEG score recompute
  25. 2026-08-22 04:50 UTCGHSA enrichment
  26. 2026-08-21 23:49 UTCEPSS rescore
  27. 2026-08-21 22:51 UTCGHSA enrichment
  28. 2026-08-21 19:10 UTCGHSA enrichment
  29. 2026-08-21 15:30 UTCGHSA enrichment
  30. 2026-08-21 11:50 UTCGHSA enrichment
  31. 2026-08-21 08:03 UTCGHSA enrichment
  32. 2026-08-21 04:23 UTCGHSA enrichment
  33. 2026-08-20 23:10 UTCEG score recompute
  34. 2026-08-20 23:10 UTCGHSA enrichment
  35. 2026-08-20 22:55 UTCEPSS rescore
  36. 2026-08-20 19:29 UTCGHSA enrichment
  37. 2026-08-20 15:49 UTCGHSA enrichment
  38. 2026-08-20 10:17 UTCGHSA enrichment
  39. 2026-08-20 06:37 UTCGHSA enrichment
  40. 2026-08-20 02:55 UTCEG score recompute
  41. 2026-08-20 02:55 UTCGHSA enrichment
  42. 2026-08-19 17:03 UTCEPSS rescore
  43. 2026-08-19 16:28 UTCGHSA enrichment
  44. 2026-08-19 12:30 UTCGHSA enrichment
  45. 2026-08-19 08:25 UTCGHSA enrichment
  46. 2026-08-19 04:45 UTCGHSA enrichment
  47. 2026-08-19 00:55 UTCGHSA enrichment
  48. 2026-08-18 20:50 UTCEG score recompute
  49. 2026-08-18 20:49 UTCGHSA enrichment
  50. 2026-08-18 13:48 UTCEPSS rescore
  51. 2026-08-18 11:38 UTCGHSA enrichment
  52. 2026-08-18 03:53 UTCGHSA enrichment
  53. 2026-08-17 22:43 UTCGHSA enrichment
  54. 2026-08-17 14:57 UTCEG score recompute
  55. 2026-08-17 14:57 UTCGHSA enrichment
  56. 2026-08-17 13:47 UTCEPSS rescore
  57. 2026-08-17 11:17 UTCGHSA enrichment
  58. 2026-08-17 07:36 UTCGHSA enrichment
  59. 2026-08-17 03:56 UTCGHSA enrichment
  60. 2026-08-17 00:15 UTCGHSA enrichment
  61. 2026-08-16 20:35 UTCGHSA enrichment
  62. 2026-08-16 16:54 UTCEG score recompute
  63. 2026-08-16 16:54 UTCGHSA enrichment
  64. 2026-08-16 14:56 UTCEPSS rescore
  65. 2026-08-16 13:14 UTCGHSA enrichment
  66. 2026-08-16 09:33 UTCGHSA enrichment
  67. 2026-08-16 05:53 UTCEG score recompute
  68. 2026-08-16 05:53 UTCGHSA enrichment
  69. 2026-08-16 02:14 UTCEPSS rescore
  70. 2026-08-16 02:13 UTCGHSA enrichment
  71. 2026-08-15 22:33 UTCGHSA enrichment
  72. 2026-08-15 18:53 UTCGHSA enrichment
  73. 2026-08-15 15:13 UTCGHSA enrichment
  74. 2026-08-15 11:33 UTCGHSA enrichment
  75. 2026-08-15 07:53 UTCGHSA enrichment

Publicly available exploits

(1 reference)

Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCoscerd/CVE-2026-40047
    First seen Jul 8, 2026

    Reproducer for CVE-2026-40047: Apache Camel camel-docling CLI argument injection / path traversal

    Open source ↗

Frequently asked(5)

What is CVE-2026-40047?
CVE-2026-40047 is a critical vulnerability published on July 6, 2026. 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…
When was CVE-2026-40047 disclosed?
CVE-2026-40047 was first published in the National Vulnerability Database on July 6, 2026, with the most recent update on July 8, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-40047 actively exploited?
CVE-2026-40047 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 2% probability of exploitation in the next 30 days, which ranks it in the top 16.7% of all scored CVEs.
What is the CVSS score of CVE-2026-40047?
CVE-2026-40047 has a CVSS v3.1 base score of 9.1 (CISA-ADP / Vulnrichment enrichment; NVD's own analysis pending).
How do I remediate CVE-2026-40047?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-40047, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40047

Explore →

Is Your Infrastructure Affected by CVE-2026-40047?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.