docling
Affected
- introduced
0, fixed2.91.0(ecosystem)
Fixed versions
2.91.0
Fix
- Fixed version
2.91.0pip install --upgrade docling==2.91.0
Advisory
Also known as: CVE-2026-44017, PYSEC-2026-2143
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:
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
High Basis: The source's own band: HIGH
0, fixed 2.91.0 (ecosystem)2.91.0
2.91.0pip install --upgrade docling==2.91.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0