Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted path-backed HTML for conversion
-
ExploitEmbed file:// reference to local target file
-
ExecutionHeadless browser renders local file into page image
-
ImpactRecover disclosed secrets from returned image
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK
2 techniques across 1 tactic: 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 ALL of: (1) the application explicitly sets HTMLBackendOptions(render_page=True) in Python (the default is render_page=False and is NOT vulnerable); (2) the optional Playwright dependency is installed so headless-browser rendering actually runs; and (3) untrusted HTML is supplied as a filesystem Path, because Path inputs are loaded via a file:// URL while stream inputs use an opaque origin that Chromium will not load file:// subresources from. Limiting factors that reduce realistic risk: no special conditions beyond these are needed once met (no authentication or user interaction), but disclosure is passive and read-only - from version 2.91.0 JavaScript is disabled, so only file content Chromium renders visibly in the page viewport (effectively readable text files such as .env or credential files) is leaked, not arbitrary data; and the docling CLI, docling-serve, and the EPUB/Markdown/XBRL/email backends are not affected. |
| Impact | The input CVSS of 7.5 (AV:N/AC:L/PR:N/UI:N/C:H) reflects worst-case confidentiality loss, but every other signal argues for a comparatively low real-world priority. EPSS is only 0.30% (21st percentile), the CVE is NOT on the CISA KEV list, and exploitation status is: publicly available exploit code exists (a proof-of-concept gist is referenced), which is a distinct and weaker signal than active exploitation. Crucially, the 'network / no-privileges' portrait painted by the CVSS vector is contradicted by the vendor advisory: exploitation requires a very specific, explicitly non-default deployment - HTMLBackendOptions(render_page=True) set in Python, the optional Playwright dependency installed, AND untrusted HTML passed as a filesystem Path (stream inputs, the CLI, docling-serve and all other backends are unaffected). The CVSS does not encode these environmental preconditions, so the base score over-states exposure for the overwhelming majority of deployments that run the default (render_page=False). Impact is also bounded: from 2.91.0 JavaScript is disabled, so disclosure is passive and limited to text a headless Chromium renders visibly inside the page viewport, not arbitrary binary exfiltration. Net assessment: a genuine but conditional information-disclosure flaw that is high-severity only for the narrow set of applications meeting all three conditions; for everyone else it is a high-CVSS-but-low-real-risk issue. |
| Exploit ScenarioDerived | An application uses Docling with HTMLBackendOptions(render_page=True) and Playwright installed to convert user-supplied HTML files (passed as filesystem Paths) into rendered document images. An attacker submits a crafted HTML file containing an element such as <iframe src="file:///app/.env">; because enable_local_fetch is not enforced in render mode, Chromium loads and visibly renders the local file, and its contents (e.g. credentials) appear in the returned page image. A public proof-of-concept exists, and the attack succeeds without user interaction, though only against the non-default rendering configuration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 07, 2026
Local file disclosure in Docling allows crafted HTML to embed readable files from the host filesystem into the rendered page image. When an application explicitly sets HTMLBackendOptions(render_page=True), has the optional Playwright dependency installed, and passes untrusted HTML as a filesystem Path, the HTML backend's browser request filter fails to enforce the enable_local_fetch setting or confine file:// access to the source document's directory, so an <iframe src="file:///..."> can pull in .env files, credentials, or other users' documents that Chromium then renders visibly into the output image. Publicly available exploit code exists and the issue is fixed in 2.118.1; EPSS is low (0.30%, 21st percentile) and there is no indication of active exploitation, so real-world priority is comparatively low despite the 7.5 CVSS, because exploitation demands a specific non-default configuration and disclosure is passive, read-only, and limited to text content Chromium renders in the viewport.
Earlier versions of this analysis (1)
Local file disclosure in Docling 2.82.0 through 2.118.1 allows an unauthenticated attacker who controls a path-backed HTML document to embed a readable local text file - referenced through a file:// URL - into a browser-rendered page image whenever HTMLBackendOptions(render_page=True) is enabled and Playwright is installed. The root cause is that HTMLDocumentBackend._get_browser_request_block_reason (CWE-552) neither honored the enable_local_fetch setting nor confined file requests to the source document's directory, so crafted HTML could reach arbitrary locally readable text files; only filesystem Path inputs are affected, since stream inputs use an opaque origin, and the default configuration, CLI, docling-serve, and all non-rendering backends are unaffected. No public exploit identified at time of analysis and there is no KEV listing; exploitation requires several non-default conditions, so real-world priority is LOW-to-MODERATE despite the CVSS 5.9 base score, and a vendor-released patch is available in 2.118.1.
RemediationAI
Upgrade to Docling 2.118.1, the exact version containing the fix (https://github.com/docling-project/docling/releases/tag/v2.118.1), which corresponds to upstream fix commit 1612b8875b0937447ce3122536fb5360a7102a0a and PR #3948; the same 2.118.1 version resolves docling-slim. After patching, file: requests in render mode are blocked unless enable_local_fetch=True and allowed paths are constrained to the source document's directory. If upgrading immediately is not possible, apply the vendor-documented workarounds: stop using render_page=True when converting untrusted HTML (set it to False, the default, which removes the browser-rendering code path entirely - the side effect is loss of image-based page rendering for legitimate layout fidelity), or pass the input as a stream rather than a filesystem Path, since stream inputs load into an opaque origin where Chromium will not fetch file:// subresources (trade-off: the input must be readable as a stream, and Path-specific behaviors may differ). Setting enable_local_fetch=False alone is insufficient on affected versions because the option was not enforced in render mode. Additionally, run the conversion process with least-privilege filesystem access and keep secrets outside any directory the process can read, which limits what a successful iframe reference could disclose.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages 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 document-processing library that parses HTML through HTMLDocumentBackend and can optionally rasterize pages with Playwright (Chromium). The flaw is a CWE-552 (Files to Which Executable/Other External Input Can Access or Influence) violation rooted in HTMLDocumentBackend._get_browser_request_block_reason: in render mode the method returned no block reason for file: URLs before inspecting options, so enable_local_fetch=False was silently ignored, and even with enable_local_fetch=True absolute paths and traversal outside the source directory were permitted - unlike the non-rendering ImageResourceLoader path, which rejects absolute paths and path traversal. Versions 2.82.0 through 2.90.x performed no request filtering in render mode at all; JavaScript was disabled in the browser from 2.91.0 onward, which confines the leak to content Chromium passively renders inside the page viewport (effectively readable text such as .env or credential files) rather than arbitrary data exfiltration. The patch introduces _get_browser_local_base_path and _is_allowed_browser_file_request, which only allow the source document's own file:// URI and, when enable_local_fetch is enabled, restrict requested paths to the source document's parent directory. Stream inputs are unaffected because they are loaded with page.set_content() into an opaque origin from which Chromium will not load file:// subresources, and the docling CLI, docling-serve, and the EPUB, Markdown, XBRL and email backends are likewise unaffected.
Know when Docling Slim 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:L/PR:N/UI:N/S:U/C:H/I:N/A:N
An attacker remotely submits crafted HTML with no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is read-only disclosure of local files (C:H, I:N, A:N) with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.82.0 until 2.118.1, HTMLBackendOptions(render_page=True) permits file URLs because HTMLDocumentBackend._get_browser_request_block_reason does not enforce the enable_local_fetch setting or confine local requests to the source document directory. Crafted path-backed HTML can embed a readable local text file in a browser-rendered page image when Playwright is installed. Only filesystem Path inputs are affected because stream inputs use an opaque origin, and the default configuration, command-line interface, docling-serve, and non-rendering backends are not affected. This issue is fixed in 2.118.1.
Blast Radius
ecosystem impact- 1 pypi packages depend on docling (1 direct, 0 indirect)
- 2 pypi packages depend on docling-slim (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 2.82.0 and other introduced versions.
Technical POC Analysis
A permissive authorization/URI filter in the HTML browser-rendering path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Docling, an open-source document conversion library, contains a high-severity local file disclosure flaw that can cause sensitive host files to appear in rendered output when specific HTML rendering options are enabled. The issue requires a non-default configuration and publicly available exploit code exists, so organizations using Docling in affected configurations should treat it as a targeted but not broad active threat. Leadership should care because exposed .env files or credentials could enable downstream account or data compromise, though the disclosure is passive, read-only, and limited to content Chromium can render.
Apply vendor patch.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Docling Slim
View allDocling 2.94.0 through 2.131.x allows an attacker-supplied LaTeX/TikZ document to read files accessible to the converter
Import-time code execution in Docling 2.27.0 through 2.131.0 lets any distribution already present in the same Python en
Unbounded rowspan/colspan attribute handling in Docling 2.0.0 through 2.130.x lets a deliberately crafted document force
Server-side request forgery in Docling 2.91.0 through 2.131.x lets an attacker-supplied document reach internal services
Docling 2.83.0 through 2.130.x ignores the enable_remote_services=False policy when OCR is configured with KserveV2OcrOp
Docling's HTML backend forwards operator-configured HTTP headers - bearer tokens, API keys, cookies set via HTMLBackendO
Processing a crafted document with Docling (or the docling-slim distribution) versions 2.45.0 through 2.130.x can exhaus
Information disclosure in Docling (and the docling-slim distribution) versions 2.16.0 through 2.130.x lets an attacker e
EUVD-2026-92814
GHSA-q43m-vhcp-mhvm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB