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
Share

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
qualitative

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
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Source Code Evidence Fetched
Jun 03, 2026 - 20:50 vuln.today
Analysis Generated
Jun 03, 2026 - 20:50 vuln.today
CVE Published
Jun 03, 2026 - 20:02 nvd
HIGH 7.5

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.

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

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.

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

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-2026-55255 HIGH POC
8.4 Jun 19

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing

Vendor StatusVendor

Share

CVE-2026-44017 vulnerability details – vuln.today

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