Path Traversal in Docling
CVE-2026-105751
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.004 · 36.9th percentile
- Published
- 2026-10-05
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 36.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Docling
- Docling-Project Docling — versions >= 2.107.0, < 2.120.3
Weakness classification (CWE)
References
- https://github.com/docling-project/docling/security/advisories/GHSA-4xhp-xg4w-8ppm (Exploit, Vendor Advisory)
- https://github.com/docling-project/docling/pull/4015 (Patch, Issue Tracking)
- https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311 (Patch)
- https://github.com/docling-project/docling/releases/tag/v2.120.3 (Release Notes)