Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (https://github.com/docling-project/docling).
CVSS VectorVendor: https://github.com/docling-project/docling
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Lifecycle Timeline
3Blast Radius
ecosystem impact- 1 pypi packages depend on docling (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2.91.0.
DescriptionCVE.org
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
AnalysisAI
Path traversal (Zip Slip) in IBM's Docling document processing library before v2.91.0 allows arbitrary file write when the EasyOCR model download function extracts ZIP archives without validating member paths. An attacker who can intercept or substitute the model download source (via MITM, DNS spoofing, or upstream supply-chain compromise) can drop files anywhere the process can write, leading to RCE or persistence. No public exploit identified at time of analysis and the vulnerability is not on the CISA KEV list.
Technical ContextAI
Docling is a Python library (distributed as the PyPI package docling, CPE pkg:pip/docling) used for converting documents into structured formats and integrating OCR through EasyOCR. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) in the EasyOCR model bootstrap routine: ZIP archives fetched from the network were passed through Python's zipfile extraction without sanitizing entry names, so archive members containing '../' sequences or absolute paths would be written outside the intended model cache directory. This is the classic Zip Slip pattern. The fix in commit 5e161ac (PR #3339, released as v2.91.0) wraps each member with os.path.realpath() and compares it against the resolved target directory, raising SecurityError on any traversal attempt.
RemediationAI
Vendor-released patch: upgrade docling to version 2.91.0 or later (pip install --upgrade docling>=2.91.0); the patched release notes are at https://github.com/docling-project/docling/releases/tag/v2.91.0 and the underlying fix is commit 5e161ac referenced by PR #3339. If immediate upgrade is not possible, the vendor's workarounds apply: ensure EasyOCR model downloads traverse only secure, authenticated channels (pin HTTPS, validate certificates, and avoid untrusted proxies that could MITM the connection), verify model archive integrity out-of-band with checksums before extraction, and run the Docling process as a least-privileged user so any successful traversal cannot overwrite system binaries, Python site-packages, or SSH authorized_keys. A more aggressive compensating control is to pre-stage model files into Docling's expected cache directory so the vulnerable download/extract path is never invoked at runtime - the side effect is losing automatic model updates and requiring manual refresh.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39006
GHSA-cjqg-rq2h-2fvj