Skip to content

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

MediumCVSS 6.9 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
pypi docling(PyPI) >= 2.107.0, < 2.120.3 2.120.3
pypi docling(PyPI) = 2.107.0 No fix listed
pypi docling(PyPI) = 2.108.0 No fix listed
pypi docling(PyPI) = 2.109.0 No fix listed
pypi docling(PyPI) = 2.110.0 No fix listed
pypi docling(PyPI) = 2.111.0 No fix listed
pypi docling(PyPI) = 2.112.0 No fix listed
pypi docling(PyPI) = 2.113.0 No fix listed
pypi docling(PyPI) = 2.114.0 No fix listed
pypi docling(PyPI) = 2.115.0 No fix listed
pypi docling(PyPI) = 2.116.0 No fix listed
pypi docling(PyPI) = 2.117.0 No fix listed
pypi docling(PyPI) = 2.118.0 No fix listed
pypi docling(PyPI) = 2.118.1 No fix listed
pypi docling(PyPI) = 2.119.0 No fix listed
pypi docling(PyPI) = 2.120.1 No fix listed
pypi docling(PyPI) = 2.120.2 No fix listed
docling-project docling = >= 2.107.0, < 2.120.3 No fix listed
redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/rhai-early-access/docling-sdk-cuda-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhai-early-access/docling-serve-cuda-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-autorag-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-ogx-core-rhel9(Red Hat:openshift_ai) All versions No fix listed
Show 1 more
ProductAffected versionsFixed in
docling >= 2.107.0, < 2.120.3 2.120.3

References