Skip to main content

Docling EUVDEUVD-2026-92815

| CVE-2026-105751 MEDIUM
Path Traversal (CWE-22)
2026-10-05 GitHub_M GHSA-4xhp-xg4w-8ppm
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft ODF with external image xlink:href
  2. Exploit
    Submit document to Docling conversion service
  3. Execution
    Backend reads attacker path as unconfined image
  4. Impact
    Local file content embedded in converted output

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 that a victim (or an automated pipeline) convert an attacker-supplied OpenDocument file through Docling's opendocument_backend, and specifically that the crafted document contain a draw:image whose xlink:href part is NOT present in the document archive - this is the exact trigger that causes the backend to treat the href as a filesystem path. The referenced path must be readable by the Docling process for any effect; for actual content disclosure the file must additionally be decodable by Pillow as an image, otherwise only a file-existence oracle (via read success/failure) is obtained. Affected versions 2.107.0 through pre-2.120.3. LIMITING FACTORS: requires user interaction / document processing (UI:A), meaningful data exfiltration requires the converted output to be reachable by the attacker, and content-level disclosure is constrained to image-decodable files. Notably, unlike other Docling backends, this code path ignored the enable_local_fetch setting, so the read occurred regardless of that configuration on vulnerable versions.

Impact

This is a confidentiality-only path traversal / arbitrary local file read (CWE-22) with conflicting real-world weight. The source-provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L) yields 6.9 (Medium): network-reachable and unauthenticated (PR:N), but gated by required user/pipeline interaction (UI:A) - a victim must convert the attacker's ODF document. No EPSS score, CISA KEV listing, SSVC decision, or public POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active or automatable exploitation. The practical priority is therefore context-dependent rather than universally high: for organizations running Docling as a server-side or RAG document-ingestion service that accepts user-supplied ODF/ODT/ODP files AND returns or stores the converted output where the attacker can read it, this is a genuine data-exfiltration risk (local file contents embedded into output, plus a file-existence oracle for non-image files). For purely local/interactive use on trusted documents, real risk is low. Note the UI:A signal cuts both ways: in automated pipelines the 'interaction' is satisfied silently by the service itself, raising real exposure above what the Medium score implies. Impact is bounded - no code execution, integrity, or availability effect, and full content disclosure is limited to files Pillow can decode as images. No signals conflict with the description; the main unknowns are exploitation telemetry (EPSS/KEV/POC all absent, which is not evidence of safety).

Exploit ScenarioDerived

An attacker uploads a crafted ODF document (e.g., ODT/ODP) to a service or RAG pipeline that converts it with Docling, where a draw:image element's xlink:href references a local filesystem path such as /etc/passwd, an SSH key, or a config file instead of an embedded archive part. When Docling's OpenDocument backend fails to find the part in the archive, it reads the attacker-controlled path with no scheme check, extraction-directory confinement, or enable_local_fetch gating, embedding any Pillow-decodable file content into the converted output returned to the attacker and revealing the existence of other files via read success/failure. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 05, 2026

Local file disclosure in Docling's OpenDocument backend (versions 2.107.0 through 2.120.3) allows an attacker-supplied ODF file to force the parser to read arbitrary filesystem paths. When a draw:image element's xlink:href references a part missing from the document archive, the vulnerable backend treats the href as a local filesystem path without a scheme check or extraction-directory confinement, then embeds Pillow-decodable files into the converted output; non-image paths still leak existence information through read success or failure. Exploitation requires a victim or automated pipeline to convert a malicious ODF document (UI:A) in an unauthenticated network-reachable context (PR:N), and no public exploit code or CISA KEV active-exploitation entry has been identified at time of analysis. Note that on affected versions this code path bypassed the enable_local_fetch setting that other Docling backends honor, so the read occurred regardless of that configuration. The vulnerability is fixed in 2.120.3.

RemediationAI

Upgrade Docling to version 2.120.3 or later, which is the vendor-released patch (commit 6ee9965adfc364b3696a67c825ec2f0d9cee4311, PR 4015) and routes external image references through ImageResourceLoader under the enable_local_fetch and enable_remote_fetch controls - see the advisory at https://github.com/docling-project/docling/security/advisories/GHSA-4xhp-xg4w-8ppm and the release at https://github.com/docling-project/docling/releases/tag/v2.120.3. If immediate upgrade is not possible, the most effective compensating control is to run document conversion in a sandbox or container whose filesystem contains no sensitive readable files and no credentials, since the read is confined to what the Docling process can access; this limits disclosure but carries the operational cost of containerization and may break integrations that rely on local file access. Additionally, treat ODF input as untrusted: reject or quarantine ODF packages containing draw:image elements whose xlink:href does not resolve to a part inside the archive, and avoid feeding attacker-supplied documents directly into conversion pipelines where the rendered output is attacker-visible. Note that disabling enable_local_fetch was NOT reliable on affected versions because this backend ignored that setting, so configuration hardening alone does not remediate vulnerable releases and upgrading is required.

Affected VersionsENISA

docling 2.107.0, < 2.120.3

Affected Packages

pypi docling fix: 2.120.3

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 document-processing library that parses formats such as OpenDocument (ODF/ODP) and feeds them into generative AI pipelines. The flaw is a CWE-22 path traversal rooted in docling/backend/opendocument_backend.py, where the _image_ref_from_odf_image function derives an image path from the xlink:href attribute of a draw:image element. The legitimate flow is that the referenced image part is retrieved from within the ODF archive; however, when that part is not found (image_data is None) and an image_url is present, the vulnerable code fell back to Path(image_url).is_file() followed by read_bytes(), treating the attacker-controlled href as a filesystem path with no scheme validation, no confinement to the extraction directory, and no respect for the enable_local_fetch option that other backends apply. The upstream fix (PR 4015, commit 6ee9965adfc364b3696a67c825ec2f0d9cee4311, released in v2.120.3) routes external href values through a new ImageResourceLoader governed by enable_local_fetch and enable_remote_fetch, and additionally excludes empty-suffix paths from bitmap detection on the reasoning that extension-less paths such as /etc/passwd are typical of system files and are not valid ODF image references. The confidentiality impact (VC:H) arises because Pillow-decodable readable files are embedded into converted output, while a file-existence oracle is available for other existing paths via read success or failure.

Know when Docling 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 (GitHub_M) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 7.4 HIGH

Unauthenticated (PR:N) but needs a victim to convert the crafted ODF (UI:R); reads files outside the archive confinement boundary (S:C) disclosing contents (C:H) with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
Red Hat 3.3 LOW

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 05, 2026 - 23:02 EUVD

DescriptionCVE.org

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.107.0 until 2.120.3, docling/backend/opendocument_backend.py uses the xlink:href attribute value of a draw:image element as a filesystem path when the referenced part is not found in the document archive. The _image_ref_from_odf_image function reads that attacker-controlled path without a scheme check, extraction-directory confinement, or the enable_local_fetch setting used by other backends. Readable files that Pillow can decode as images are embedded in converted output, and other existing paths can be distinguished through the attempted read. This issue is fixed in 2.120.3.

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

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Medium
popular open-source document-parsing library common in GenAI/RAG ingestion pipelines
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

CVE-2026-105750 HIGH POC
7.5 Oct 05

Local file disclosure in Docling allows crafted HTML to embed readable files from the host filesystem into the rendered

CVE-2026-105744 HIGH POC
8.8 Oct 05

Docling 2.94.0 through 2.131.x allows an attacker-supplied LaTeX/TikZ document to read files accessible to the converter

CVE-2026-105745 HIGH POC
7.8 Oct 05

Import-time code execution in Docling 2.27.0 through 2.131.0 lets any distribution already present in the same Python en

CVE-2026-105749 MEDIUM POC
6.5 Oct 05

Unbounded rowspan/colspan attribute handling in Docling 2.0.0 through 2.130.x lets a deliberately crafted document force

CVE-2026-105743 MEDIUM POC
5.8 Oct 05

Server-side request forgery in Docling 2.91.0 through 2.131.x lets an attacker-supplied document reach internal services

CVE-2026-105746 MEDIUM
5.3 Oct 05

Docling 2.83.0 through 2.130.x ignores the enable_remote_services=False policy when OCR is configured with KserveV2OcrOp

CVE-2026-105742 MEDIUM POC
5.3 Oct 05

Docling's HTML backend forwards operator-configured HTTP headers - bearer tokens, API keys, cookies set via HTMLBackendO

CVE-2026-105747 MEDIUM
4.3 Oct 05

Processing a crafted document with Docling (or the docling-slim distribution) versions 2.45.0 through 2.130.x can exhaus

CVE-2026-105748 MEDIUM POC
4.3 Oct 05

Information disclosure in Docling (and the docling-slim distribution) versions 2.16.0 through 2.130.x lets an attacker e

Vendor StatusVendor

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