Docling: `enable_local_fetch` is not enforced in HTML browser-rendering mode
docling-project docling · docling-project docling-slim
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| docling PyPI |
|
|
| docling-slim PyPI |
|
|
Original description
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.
From the CVE record · GitHub_M
References
- github.com/docling-project/docling/security/advisories/GHSA-q43m-vhcp-mhvmVendor advisory
- github.com/docling-project/docling/pull/3948Patch
- github.com/docling-project/docling/commit/1612b8875b0937447ce3122536fb5360a7102a0aPatch
- github.com/docling-project/docling/releases/tag/v2.118.1Release notes
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105750.json
- nvd.nist.gov/vuln/detail/CVE-2026-105750
- github.com/docling-project/docling
- pypi.org/project/docling-slim
- github.com/advisories/GHSA-q43m-vhcp-mhvm