Skip to main content

Docling CVE-2026-44017

| EUVDEUVD-2026-39006 HIGH
Path Traversal (CWE-22)
2026-06-03 https://github.com/docling-project/docling GHSA-cjqg-rq2h-2fvj
7.5
CVSS 3.1 · Vendor: https://github.com/docling-project/docling
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify target running Docling <2.91.0
  2. Delivery
    Position for MITM or compromise model mirror
  3. Exploit
    Victim triggers OCR workflow fetching EasyOCR model
  4. Install
    Serve malicious ZIP with traversal paths
  5. C2
    Docling extracts entries outside cache directory
  6. Execute
    Overwrite Python module or SSH authorized_keys
  7. Impact
    Achieve 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 ../../../../home/user/.ssh/authorized_keys or a Python site-packages file, achieving persistence or code execution on the next interpreter run. No public PoC is currently identified, but Zip Slip exploitation primitives are well documented and trivial to adapt.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

docling < 2.91.0

Affected Packages

pypi docling fix: 2.91.0

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

Vendor (https://github.com/docling-project/docling) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 8.3 HIGH

Primary rating from Vendor (https://github.com/docling-project/docling).

CVSS VectorVendor: https://github.com/docling-project/docling

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 pypi packages depend on docling (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.91.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 69% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy