CVE-2026-44017: Docling: Unsafe Zip Extraction in EasyOCR Model Download
Impact In versions < 2.91.0, The EasyOCR model download functionality extracted ZIP archives without validating member paths, enabling Zip Slip attacks. If an attacker could compromise the model download source (via supply chain attack, DNS spoofing, or MITM), they could write arbitrary files to any location writable by the process, potentially achieving: - Remote code execution by overwriting Python files or system…
Published Jun 3, 2026 · Updated Aug 28, 2026
Affected packages
docling
- Ecosystem
- PyPI
- Affected
- < 2.91.0
- Fixed in
- 2.91.0
- Check
pip show docling
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
In versions < 2.91.0, The EasyOCR model download functionality extracted ZIP archives without validating member paths, enabling Zip Slip attacks. If an attacker could compromise the model download source (via supply chain attack, DNS spoofing, or MITM), they could write arbitrary files to any location writable by the process, potentially achieving:
- Remote code execution by overwriting Python files or system binaries
- Persistent backdoors by modifying startup scripts or SSH keys
- Data corruption or system compromise
Patches
Fixed in version 2.91.0. The extraction process now validates each archive member path using os.path.realpath() to ensure it remains within the target directory, raising a SecurityError for any path traversal attempts.
Workarounds
Ensure model downloads occur over secure, authenticated channels. Use integrity verification (checksums) for downloaded models. Run the application with minimal file system permissions.
References
- Fix release: v2.91.0
References
- https://github.com/docling-project/docling/security/advisories/GHSA-cjqg-rq2h-2fvj
- https://github.com/docling-project/docling/releases/tag/v2.91.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-44017
- https://access.redhat.com/security/cve/CVE-2026-44017
- https://bugzilla.redhat.com/show_bug.cgi?id=2492448
- https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2143.yaml
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44017.json
- https://access.redhat.com/errata/RHSA-2026:60520
- https://github.com/advisories/GHSA-cjqg-rq2h-2fvj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-105742
Docling: Configured HTTP headers sent to every remote image host named by a document
low3.7Oct 7, 2026CVE-2026-105743
Docling has SSRF guard bypass in remote resource fetching (DNS rebinding / multi-record resolution; no IP validation in HTML render mode)
medium4.0Oct 7, 2026CVE-2026-105744
Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
high7.5Oct 7, 2026CVE-2026-105745
Docling imports plugin entry points before the allow_external_plugins check
medium6.7Oct 7, 2026CVE-2026-105748
Docling: Crafted DoclingDocument JSON embeds local image files into converted output
medium4.3Oct 7, 2026CVE-2026-105749
Docling: Unbounded table rowspan/colspan in HTML, JATS, ODS and BoxNote backends causes CPU/memory exhaustion
medium6.5Oct 7, 2026
