Docling: Unsafe Playwright-based HTML Rendering
Impact
In versions >= 2.82.0, < 2.91.0, if the HTML backend was explicitly configured for rendering (rendering option by default deactivated), then the Playwright-based rendering feature could allow JavaScript execution and unrestricted network access when processing untrusted HTML documents. An attacker could craft malicious HTML that executes arbitrary JavaScript in the rendering context or makes unauthorized network requests to internal services, potentially leading to SSRF attacks, data exfiltration, or remote code execution in the rendering environment.
Patches
Fixed in version 2.91.0. The rendering context now explicitly disables JavaScript execution (java_script_enabled=False) and implements network isolation controls. When enable_remote_fetch is disabled, the browser operates in offline mode, preventing all network requests.
Workarounds
Refrain from using render_page=True when processing untrusted HTML documents.
References
- Fix release: v2.91.0
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | docling | >= 2.82.0, < 2.91.0 | 2.91.0 |
References
- https://access.redhat.com/security/cve/CVE-2026-44016
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44016.json
- https://github.com/docling-project/docling/releases/tag/v2.91.0
- https://bugzilla.redhat.com/show_bug.cgi?id=2492339
- https://github.com/docling-project/docling/security/advisories/GHSA-pj2v-ggqh-cmq2
- https://nvd.nist.gov/vuln/detail/CVE-2026-44016
- https://github.com/docling-project/docling
- https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2142.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L- Weakness (CWE)
CWE-918, CWE-94- Platform
- Python (PyPI)
- Package
docling- Disclosed
- 03.06.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2142 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-pj2v-ggqh-cmq2 - CC BY 4.0
Vulnerability history: docling
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 18
- First → latest
- 05.2026 10.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- High 7
- Medium 10
- Low 1
Disclosures per year
- 2026: 18
-
Docling: Unsafe Playwright-based HTML Rendering this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.