Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify target running Docling <2.91.0
-
DeliveryPosition for MITM or compromise model mirror
-
ExploitVictim triggers OCR workflow fetching EasyOCR model
-
InstallServe malicious ZIP with traversal paths
-
C2Docling extracts entries outside cache directory
-
ExecuteOverwrite Python module or SSH authorized_keys
-
ImpactAchieve RCE or persistence on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) the victim to invoke a Docling workflow that triggers the EasyOCR model download path - typically a first-run OCR operation against a docling version below 2.91.0 - and (2) the attacker to control the response to that download, either by network-level interception (MITM, DNS spoofing, or rogue proxy on the victim's network path) or by compromising the upstream EasyOCR model host or a mirror in the supply chain. Limiting factors per the CVSS vector are AC:H (the attacker must arrange the position-in-path or supply-chain prerequisite, which is non-trivial) and UI:R (a user or scheduled job must actively run a Docling task that fetches models - a process with cached models will not re-download). No authentication to the victim system is needed (PR:N), but the process privileges of the Docling worker bound the blast radius of arbitrary file write. |
| Impact | The CVSS 3.1 base score is 7.5 (High) with vector AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - network attack vector but high complexity and required user interaction, reflecting that the attacker must first position themselves to control the model download (MITM, DNS spoof, or compromise of the upstream EasyOCR model host) and the victim must trigger an OCR-using workflow that fetches the model. There is no EPSS score, no CISA KEV entry, and no public PoC identified at time of analysis, so this is not an actively exploited mass-target issue; realistic abuse paths are targeted MITM on unsecured networks or a successful supply-chain compromise of the model host. The AC:H and UI:R caveats notably lower the practical urgency compared to the 7.5 base, but the technical impact (arbitrary file write leading to RCE or backdoored startup scripts/SSH keys) is genuinely severe for any host running Docling in an automated pipeline. |
| Exploit ScenarioDerived | A developer runs a Docling-based ingestion pipeline on a workstation or CI runner that performs OCR for the first time, causing Docling to fetch EasyOCR model ZIPs over the network. An attacker positioned on the path (rogue Wi-Fi, compromised proxy, DNS spoof, or compromise of the upstream model mirror) returns a malicious ZIP whose entry names resolve to paths like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
Blast Radius
ecosystem impact- 1 pypi packages depend on docling (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2.91.0.
Executive ViewAI
IBM Docling versions before 2.91.0 contain a path traversal vulnerability enabling remote code execution if attackers intercept model downloads; no public exploit identified at time of analysis. Organizations using Docling face supply chain attack risk and potential persistent system compromise. Immediate asset inventory and patching planning is required.
No vendor-released patch identified at time of analysis. Interim controls: enforce network egress restrictions on model download endpoints, implement DNS/HTTPS inspection to block MITM attacks, enable file integrity monitoring on Docling installation paths, conduct supply chain verification for Python package sources, and isolate Docling worker processes via network segmentation. Establish change management process for immediate deployment upon v2.91.0 release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
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
EUVD-2026-39006
GHSA-cjqg-rq2h-2fvj
NVD
CVE.org
EPSS
Exploit-DB