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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-05T21:40:45.997Z
- Modified: 2026-10-16T20:45:30.910Z
- Also known as: GHSA-4xhp-xg4w-8ppm, PYSEC-2026-4207
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- docling-project docling: >= 2.107.0, < 2.120.3
- docling (PyPI): from 2.107.0 before 2.120.3
- docling docling: from 2.107.0 before 2.120.3

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N`

## References

- <https://github.com/docling-project/docling/security/advisories/GHSA-4xhp-xg4w-8ppm> (exploit, vendor-advisory, web)
- <https://github.com/docling-project/docling/pull/4015> (issue-tracking, patch, web)
- <https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311> (patch, web)
- <https://github.com/docling-project/docling/releases/tag/v2.120.3> (release-notes, web)
- <https://github.com/docling-project/docling> (package)
- <https://pypi.org/project/docling> (package)
- <https://github.com/advisories/GHSA-4xhp-xg4w-8ppm> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-105751> (advisory)

## Sources

- CVE List: [CVE-2026-105751](https://www.cve.org/CVERecord?id=CVE-2026-105751), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-4xhp-xg4w-8ppm](https://github.com/advisories/GHSA-4xhp-xg4w-8ppm), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-105751](https://nvd.nist.gov/vuln/detail/CVE-2026-105751), Public domain, modified 2026-10-16
- PyPA Advisory Database: [PYSEC-2026-4207](https://osv.dev/vulnerability/PYSEC-2026-4207), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-105751 · Whole record: https://cve.day/CVE-2026-105751.json · Rebuilt by cve.day 2026-11-25T22:59:42.189Z
