{"id":"CVE-2026-105751","published":"2026-10-05T21:40:45Z","modified":"2026-10-06T16:36:34Z","title":"Docling: Arbitrary local file read via draw:image xlink:href in the OpenDocument backend","vendor":"docling-project","product":"docling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.36976,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-4xhp-xg4w-8ppm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docling-project/docling/pull/4015","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.120.3","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.4},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"docling-project","affectedVersions":[{"vendor":"docling-project","product":"docling","versions":[">= 2.107.0, < 2.120.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-06T16:32:19.946260Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"docling","vulnerableRanges":[">=2.107.0, <2.120.3"],"patched":["2.120.3"],"from":["GHSA-4xhp-xg4w-8ppm","PYSEC-2026-4207"],"provenance":"source"}],"summary":{"text":"Docling versions 2.107.0 through 2.120.3 contain a path traversal flaw in the OpenDocument backend (docling/backend/opendocument_backend.py), where the xlink:href value of a draw:image element is used as a local filesystem path whenever the referenced part is missing from the archive. An attacker who can get a crafted OpenDocument file processed by Docling can read arbitrary local files that Pillow can decode as images (embedding them in the converted output) and infer whether other paths exist, with exploitation requiring that a user (or pipeline) process the malicious document.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:20Z"},"euvd":{"id":"EUVD-2026-92815","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44022","published":"2026-06-24","fixed":"2.91.0","kev":false},{"cve":"CVE-2026-47214","published":"2026-06-26","fixed":"2.94.0","kev":false},{"cve":"CVE-2026-105750","published":"2026-10-05","fixed":"2.118.1","kev":false,"link":{"from":"CVE-2026-105750","to":"CVE-2026-105751","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:docling","fromFixed":"2.118.1","toFixed":"2.120.3","daysApart":0}]}},{"cve":"CVE-2026-105751","published":"2026-10-05","fixed":"2.120.3","kev":false},{"cve":"CVE-2026-105745","published":"2026-10-05","fixed":"2.131.0","kev":false},{"cve":"CVE-2026-105746","published":"2026-10-05","fixed":"2.131.0","kev":false},{"cve":"CVE-2026-105747","published":"2026-10-05","fixed":"2.131.0","kev":false}],"package":"PyPI:docling"}}