# PYSEC-2026-4196: Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem

- Database: PyPA
- Published: 2026-10-05
- Modified: 2026-10-15

## Tracked as

- [CVE-2026-105750](https://cve.now/CVE-2026-105750.md): Docling: enable\_local\_fetch is not enforced in HTML browser-rendering mode

## Also published as

- [GHSA-Q43M-VHCP-MHVM](https://cve.now/GHSA-Q43M-VHCP-MHVM.md) (GitHub)
- [PYSEC-2026-4215](https://cve.now/PYSEC-2026-4215.md) (PyPA)

## Affected versions

- docling (PyPI): from 2.82.0, fixed in 2.118.1

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

## References

- https://github.com/docling-project/docling/releases/tag/v2.118.1
- https://github.com/docling-project/docling/commit/1612b8875b0937447ce3122536fb5360a7102a0a
- https://github.com/docling-project/docling/pull/3948
- https://github.com/docling-project/docling/security/advisories/GHSA-q43m-vhcp-mhvm

Page: https://cve.now/PYSEC-2026-4196

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
