Skip to main content
← All vulnerabilities
CVE-2026-105751GHSA-4XHP-XG4W-8PPMPYSEC-2026-4207

Docling: Arbitrary local file read via draw:image xlink:href in the OpenDocument backend

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.120.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • docling-project docling

    From 2.107.0 · fixed in 2.120.3

  • doclingPyPI

    From 2.107.0 · fixed in 2.120.3

References 4

GitHub · docling-project/docling