
Professional vulnerability assessment report for Apache Camel Docling argument validation risk, including technical impact, remediation, and mitigation strategy.
| Field | Details |
|---|
| Report Type | Vulnerability Assessment Report |
| Engagement Context | Security Research |
| Primary Focus | Application Security |
| Audience | Security teams, engineering teams, hiring managers |
| Output Style | Executive summary, technical analysis, business impact, remediation roadmap |
| Publication State | Sanitized for public portfolio review |
[!IMPORTANT] This report is intentionally sanitized for public GitHub publication. Sensitive identifiers, credentials, infrastructure values, and client-specific evidence are replaced with clear placeholders.
[!TIP] For a fast review, start with the Executive Summary and Impact sections. For technical depth, continue into Technical Analysis and Remediation.
CVE-2026-40047 - Apache Camel Docling CLI Argument Injection
ثغرة أمنية خطيرة من نوع حقن وسيطات الأوامر (Argument Injection) في مكون camel-docling الخاص بإطار عمل Apache Camel، تسمح لمهاجم بحقن وسيطات CLI غير مرغوب فيها وقيم مسارات متجاوزة (Path Traversal) إلى الأداة الخارجية docling.
تقع الثغرة في الصنف DoclingProducer حيث تقوم الدالة addCustomArguments بإلحاق قائمة الوسائط المخصصة CamelDoclingCustomArguments إلى أمر docling دون تحقق كافٍ. كان التحقق المعتمد على قائمة محظورة (Denylist) فقط مع فحص حرفي لـ ../، مما يسمح بتجاوز الوسائط غير المعروفة والمسارات المطلقة.
| العنصر | التفاصيل |
|---|---|
| CVE | CVE-2026-40047 |
| CVSS v3.1 | 9.1 (Critical) |
| المتجه | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| النوع | Argument Injection (CWE-88) / Path Traversal (CWE-22) |
| المنتج | Apache Camel (camel-docling) |
| الإصدارات المتأثرة | من 4.15.0 إلى 4.18.2 |
| الإصدار المُصحَّح | 4.18.3 / 4.19.0 |
| اكتُشِفت بواسطة | Andrea Cosentino (Apache Software Foundation) |
| التأثير | حقن وسائط CLI غير مرغوب فيها وتجاوز المسارات |
| Attribute | Value |
|---|---|
| Identifier | CVE-2026-40047 |
| CVSS / Severity | 9.1 |
| Weakness Class | CWE-88) / Path Traversal (CWE-22) |
| Affected Scope | من 4.15.0 إلى 4.18.2 |
| Fixed Version | 4.18.3 / 4.19.0 |
The weakness was assessed from an application-security and infrastructure-risk perspective. The core issue is classified as Argument Injection and was documented in a sanitized form suitable for public portfolio publication.
Apache Camel هو إطار تكامل قوي يستخدم على نطاق واسع في المؤسسات لربط الأنظمة المختلفة. مكون camel-docling يقوم باستدعاء الأداة الخارجية docling (أداة تحويل المستندات) عبر ProcessBuilder.
الإصلاح يستبدل الـ Denylist بـ قائمة مسموح بها (Allowlist) صارمة:
--output, -o)Path.normalize() قبل التحققPrepared as a professional cybersecurity portfolio report
Focused on clear risk communication, practical remediation, and defensive improvement.