Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HTML with file:// or internal URLs
-
DeliveryDeliver to docling ingestion endpoint
-
ExploitBackend invokes HTML parser with fetch flag enabled
-
ExecutionResolver dereferences unvalidated URI
-
PersistRead local file or internal HTTP response
-
ImpactExfiltrate contents via converted document output
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | The target application must invoke docling's HTML backend on attacker-influenced HTML AND must have explicitly set enable_local_fetch=True (for file://, absolute path, or ../ traversal disclosure) or enable_remote_fetch=True (for SSRF against internal IPs, unsafe HTTP redirect chains, and unbounded image/data: URI downloads); both flags default to False, so stock configurations are not exploitable. User interaction is required in the CVSS sense (UI:R) - a victim or automated pipeline must process the attacker-supplied document - but no authentication or special privilege on the target is needed (PR:N). Exploitation is further limited to docling versions prior to 2.94.0 and to deployments where the converted output (or its side effects, such as image bytes) is observable to the attacker for confidentiality impact to be realized. |
| Impact | Real-world risk is moderate and conditional rather than urgent. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L (7.1) reflects network reach, no authentication, but required user interaction (a victim must process attacker-supplied HTML) and limits impact to confidentiality (file/SSRF read) plus low availability (resource exhaustion). SSVC-style reading: exploitation is POC-class at best (no public exploit identified at time of analysis, not in CISA KEV), automatability is plausible since malicious HTML can be mass-distributed, and technical impact is partial (read-only file disclosure and internal probing, not RCE). EPSS data was not provided and cannot be cited. A key caveat: exploitation requires the embedding application to opt into enable_local_fetch=True or enable_remote_fetch=True - both default to False - so default deployments are largely safe; pipelines that explicitly enabled fetching to render images or follow links are the realistic targets. No conflicting signals between CVSS and description were observed. |
| Exploit ScenarioDerived | An attacker submits a malicious HTML document - for example, uploaded to a SaaS ingestion endpoint or emailed into an automated RAG pipeline - containing tags whose src attributes point to file:///etc/passwd, ../../ relative paths, or http://169.254.169.254/ cloud metadata URLs. When the backend service calls docling with enable_local_fetch or enable_remote_fetch enabled, docling dereferences these URIs and embeds the retrieved bytes into the converted output, leaking local file contents and internal HTTP responses back to the attacker via the document the pipeline returns or stores. No public exploit code is identified at time of analysis, but the technique is straightforward to script. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
Path traversal and SSRF in Docling's HTML backend allow attackers to coerce the document processor into reading local files, contacting internal network resources, and consuming unbounded resources when a crafted HTML document is processed with non-default fetch flags enabled. The flaw affects the docling Python package prior to 2.94.0 and stems from missing validation of file:// URIs, relative/absolute paths, HTTP redirects, and download sizes; no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade docling to 2.94.0 or later (pip install --upgrade 'docling>=2.94.0'); 2.91.0 contains partial fixes but 2.94.0 is required for full coverage, per the release notes at https://github.com/docling-project/docling/releases/tag/v2.91.0 and https://github.com/docling-project/docling/releases/tag/v2.94.0. If upgrading immediately is not feasible, the vendor-recommended workaround is to keep both enable_local_fetch=False and enable_remote_fetch=False (the defaults) when processing untrusted HTML, which fully neutralizes the file:// and SSRF paths at the cost of losing the ability to inline local images or follow remote image references during conversion. For pipelines that must render images, run docling inside a network-egress-restricted sandbox that denies RFC1918 destinations and local filesystem access outside a dedicated working directory, and constrain base_path to a non-sensitive scratch directory; this preserves functionality but trades operational complexity for safety. Full advisory: https://github.com/docling-project/docling/security/advisories/GHSA-q29v-xc37-wh5m.
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 an IBM-originated open-source Python library (pkg:pip/docling) used to parse and convert documents (HTML, DOCX, PPTX, PDF, etc.) into structured representations, frequently embedded in document-ingestion and RAG pipelines. The vulnerable component is the HTML backend's resource resolver, which fetches images and other linked assets referenced from an input HTML document. The root cause maps to CWE-73 (External Control of File Name or Path): user-controlled URIs in HTML were passed to file and network handlers without scheme allow-listing, IP filtering, redirect validation, or size caps, simultaneously enabling local file disclosure via file:// and ../ traversal and server-side request forgery against internal IPs when enable_remote_fetch was active. The 2.91.0 and 2.94.0 fixes add absolute-path blocking, base_path containment, file:// stripping, IP address validation, redirect/timeout enforcement, and streaming size limits for remote images and data: URIs.
Know when the next one hits your stack
- 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:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Primary rating from Vendor (https://github.com/docling-project/docling).
CVSS VectorVendor: https://github.com/docling-project/docling
DescriptionCVE.org
Impact
The HTML backend did not perform sufficient validation during resource handling:
- Accepted
file://URIs enabling local file system access whenenable_local_fetch=True - Path resolution allowed traversal outside intended directories via
../sequences and absolute paths - Did not block internal network resources under
enable_remote_fetch=True - HTTP redirects were not validated, potentially redirecting to unintended schemes
- No resource limits for remote image downloads and
data:URIs
Patches
Fixed in versions 2.91.0 (initial fixes) and 2.94.0 (additional improvements). The fixes implement:
- Updated local path treatment: absolute files always blocked, relative paths require
enable_local_fetch=True(default: False) and containment within configuredbase_pathfor path traversal protection file://scheme stripped & treated as local path (above)- IP address validation to prevent SSRF
- HTTP redirect validation, connection and read timeouts
- Size limit for both remote images (with streaming download) and base64-decoded data URIs
Workarounds
Keep both enable_local_fetch=False and enable_remote_fetch=False (defaults) when processing untrusted HTML documents.
References
Blast Radius
ecosystem impact- 2 pypi packages depend on docling (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 2.94.0.
Executive ViewAI
Docling document processor versions prior to 2.94.0 contain path traversal and SSRF vulnerabilities that allow attackers to read local files and probe internal networks through crafted HTML documents when non-default fetch features are enabled. Organizations using affected versions risk exposure of sensitive configuration, credentials, or proprietary data, and potential reconnaissance by attackers preparing lateral movement.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Verify non-default fetch flags are disabled unless operationally critical; (2) Implement network segmentation and egress filtering to block SSRF to internal systems; (3) Process only HTML documents from trusted sources; (4) Apply least privilege file system permissions to the document processing service account; (5) Monitor document processor logs and network activity for suspicious file access or internal resource requests.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-39791
GHSA-q29v-xc37-wh5m
NVD
CVE.org
EPSS
Exploit-DB