p PatchFirst

CVE-2026-105751

CVE-2026-105751 · Docling: Arbitrary local file read via draw:image xlink:href in the OpenDocument backend

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • docling

    Versions
    • >= 2.107.0, < 2.120.3: Affected

    No fix published

  • docling PyPI

    Versions
    • 2.107.0
    • 2.108.0
    • 2.109.0
    • 2.110.0
    • 2.111.0
    • 2.112.0
    • 2.113.0
    • 2.114.0
    • 2.115.0
    • 2.116.0
    • 2.117.0
    • 2.118.0
    • 2.118.1
    • 2.119.0
    • 2.120.1
    • 2.120.2
    Affected ranges
    • ECOSYSTEM: ≥ 2.107.0, < 2.120.3

    Update to 2.120.3

Original sources

Check your server →