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 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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | docling | < 2.91.0 | 2.91.0 |
Verweise
- https://access.redhat.com/security/cve/CVE-2026-44017
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44017.json
- https://github.com/docling-project/docling/releases/tag/v2.91.0
- https://bugzilla.redhat.com/show_bug.cgi?id=2492448
- https://github.com/docling-project/docling/security/advisories/GHSA-cjqg-rq2h-2fvj
- https://nvd.nist.gov/vuln/detail/CVE-2026-44017
- https://access.redhat.com/errata/RHSA-2026:60520
- https://github.com/docling-project/docling
- https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2143.yaml
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-22- Plattform
- Python (PyPI)
- Paket
docling- Veröffentlicht
- 03.06.2026
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-2143 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cjqg-rq2h-2fvj - CC BY 4.0
Schwachstellenhistorie: docling
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 18
- Erste → letzte
- 05.2026 10.2026
- Ohne Fix
- 2
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 7
- Mittel 10
- Niedrig 1
Veröffentlichungen pro Jahr
- 2026: 18
-
Docling: Unsafe Zip Extraction in EasyOCR Model Download dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.