Read the docs

Arbitrary local file read in Docling OpenDocument backend

Priority MEDIUM 64CWE-22Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00418 36th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial docling (docling-project): 2.120.3docling (PyPI): 2.120.3Red Hat: 2 without a fix

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

VendorProductAffected versionsFixed inStatusSource
docling-projectdocling2.107.0 to before 2.120.32.120.3Patch availableCNA
—docling (PyPI)2.107.0 to before 2.120.32.120.3Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*2.107.0 to before 2.120.3Vulnerabledocling-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 →

ProductStatusPlan or fix
Lightspeed CoreAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-06 Threatist record created from CVE-2026-105751
  2. 2026-10-06 Alias added: GHSA-4xhp-xg4w-8ppm
  3. 2026-10-06 Fix available: PyPI/[email protected] · GHSA-4xhp-xg4w-8ppm
  4. 2026-10-06 CVSS score added · GHSA-4xhp-xg4w-8ppm
  5. 2026-10-06 Weakness changed · GHSA-4xhp-xg4w-8ppm
  6. 2026-10-06 5 new references · GHSA-4xhp-xg4w-8ppm
  7. 2026-10-06 Affected versions changed · Red Hat
  8. 2026-10-06 CVSS score added · Red Hat
  9. 2026-10-06 CISA SSVC decision points changed
  10. 2026-10-18 CVSS score added · NVD

References

  • 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
See all 15 →

Sources