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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed in |
|---|---|---|
| docling | >= 2.107.0, < 2.120.3 | 2.120.3 |
References
- https://github.com/docling-project/docling/security/advisories/GHSA-4xhp-xg4w-8ppm exploit vendor-advisory
- https://github.com/docling-project/docling/pull/4015 issue-tracking patch
- https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311 patch
- github.com product
- https://github.com/docling-project/docling/releases/tag/v2.120.3 release-notes
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2546162 issue-tracking
- www.cve.org