CVE-2026-44017
JSON

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 packageVersionsReported by
docling-project docling< 2.91.0CVE List
rhoai/odh-autorag-rhel9Not specified
Not affected: from 1786612637 before *
CVE List
docling (PyPI)before 2.91.0GitHub Advisory Database, PyPA Advisory Database
docling doclingbefore 2.91.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
redhat-SADP8.3high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-44017 changed 2026-08-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-cjqg-rq2h-2fvj changed 2026-08-28CC-BY-4.0
NVDCVE-2026-44017 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2143 changed 2026-07-13CC-BY-4.0