Arbitrary local file read in Docling OpenDocument backend
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
The Docling document processing library on PyPI from 2.107.0 before 2.120.3 is affected. The OpenDocument backend uses the xlink:href of a draw:image element as a filesystem path when the referenced part is missing, without scheme or directory checks (CWE-22). A crafted OpenDocument file can make a user embed readable local images in the output. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.107.0 until 2.120.3, docling/backend/opendocument_backend.py uses the xlink:href attribute value of a draw:image element as a filesystem path when the referenced part is not found in the document archive. The _image_ref_from_odf_image function reads that attacker-controlled path without a scheme check, extraction-directory confinement, or the enable_local_fetch setting used by other backends. Readable files that Pillow can decode as images are embedded in converted output, and other existing paths can be distinguished through the attempted read. This issue is fixed in 2.120.3.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| docling-project | docling | 2.107.0 to before 2.120.3 | 2.120.3 | Patch available | CNA |
| — | docling (PyPI) | 2.107.0 to before 2.120.3 | 2.120.3 | Patch available | GHSA-4xhp-xg4w-8ppm |
- docling Vendordocling-project Affected 2.107.0 to before 2.120.3 Fixed in 2.120.3 Patch available CNA
- docling (PyPI) Vendor— Affected 2.107.0 to before 2.120.3 Fixed in 2.120.3 Patch available GHSA-4xhp-xg4w-8ppm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:* | 2.107.0 to before 2.120.3 | Vulnerable | docling-project |
- cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:* Versions 2.107.0 to before 2.120.3 Vulnerable ·docling-project
Remediation
Upgrade the docling package on PyPI to version 2.120.3, which contains the fix. The sources list no fixed version for the docling-project vendor entry, while the PyPI entry marks 2.120.3 as fixed. Red Hat lists no available fix plan for Lightspeed Core and Red Hat OpenShift AI (RHOAI).
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA docling (docling-project) Fixed in 2.120.3
- Fix · GHSA-4xhp-xg4w-8ppm docling (PyPI) Fixed in 2.120.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Lightspeed Core | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-06 Threatist record created from CVE-2026-105751
- 2026-10-06 Alias added: GHSA-4xhp-xg4w-8ppm
- 2026-10-06 Fix available: PyPI/[email protected] · GHSA-4xhp-xg4w-8ppm
- 2026-10-06 CVSS score added · GHSA-4xhp-xg4w-8ppm
- 2026-10-06 Weakness changed · GHSA-4xhp-xg4w-8ppm
- 2026-10-06 5 new references · GHSA-4xhp-xg4w-8ppm
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-06 CVSS score added · Red Hat
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-18 CVSS score added · NVD
References
Patch 2
More docling-project Docling vulnerabilities
- TI-2026-68355 Docling Tectonic TikZ rendering enables arbitrary file read/write CVSS 3.1HIGH 8.8
- TI-2026-68360 Docling table span parsing causes CPU and memory exhaustion CVSS 3.1MEDIUM 6.5
- TI-2026-68353 Docling sends configured HTTP headers to any remote image host CVSS 3.1MEDIUM 5.3
- TI-2026-68359 Docling embeds local image files from crafted JSON documents CVSS 3.1MEDIUM 4.3
- TI-2026-32061 Docling: Unsafe XML Entity Expansion in USPTO Patent Backend CVSS 3.1HIGH 7.5
- TI-2026-32058 Docling: Unsafe Zip Extraction in EasyOCR Model Download CVSS 3.1HIGH 7.5
Sources
- CVE-2026-105751 · CVE Program
- CVE-2026-105751 · NVD
- FIRST EPSS
- GHSA-4xhp-xg4w-8ppm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-105751 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences