7.5high
Docling: Unsafe Zip Extraction in EasyOCR Model Download
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cjqg-rq2h-2fvjPYSEC-2026-2143
Description
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. Prior to 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, and data corruption or system compromise. This vulnerability is fixed in 2.91.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| docling-project docling | < 2.91.0 | CVE List |
| rhoai/odh-autorag-rhel9 | Not specified Not affected: from 1786612637 before * | CVE List |
| docling (PyPI) | before 2.91.0 | GitHub Advisory Database, PyPA Advisory Database |
| docling docling | before 2.91.0 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. Prior to 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, and data corruption or system compromise. This vulnerability is fixed in 2.91.0.
GitHub Advisory Database
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
NVD (es)
Docling simplifica el procesamiento de documentos al analizar diversos formatos y proporcionar integraciones con el ecosistema de IA generativa. Antes de la versión 2.91.0, la funcionalidad de descarga de modelos de EasyOCR extraía archivos ZIP sin validar las rutas de los miembros, lo que permitía ataques Zip Slip. Si un atacante pudiera comprometer la fuente de descarga del modelo (mediante un ataque a la cadena de suministro, suplantación de DNS o MitM), podría escribir archivos arbitrarios en cualquier ubicación a la que el proceso tuviera permisos de escritura, logrando potencialmente la ejecución remota de código al sobrescribir archivos Python o binarios del sistema, puertas traseras persistentes al modificar scripts de inicio o claves SSH, y corrupción de datos o compromiso del sistema. Esta vulnerabilidad está corregida en la versión 2.91.0.
References
| https://github.com/docling-project/docling/security/advisories/GHSA-cjqg-rq2h-2fvj | fix, mitigation, patch, vendor-advisory, web | |
| https://github.com/docling-project/docling/releases/tag/v2.91.0 | advisory, product, release-notes, web | |
| https://access.redhat.com/security/cve/CVE-2026-44017 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2492448 | issue-tracking, report, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44017.json | web | |
| https://access.redhat.com/errata/RHSA-2026:60520 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-44017 | advisory | |
| https://github.com/docling-project/docling | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2143.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44017 changed 2026-08-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cjqg-rq2h-2fvj changed 2026-08-28 | CC-BY-4.0 |
| NVD | CVE-2026-44017 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2143 changed 2026-07-13 | CC-BY-4.0 |