Docling: Unsafe Playwright-based HTML Rendering
GHSA-pj2v-ggqh-cmq2 · CVE-2026-44016 · PYSEC-2026-2142
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
References
- WEB https://github.com/docling-project/docling/security/advisories/GHSA-pj2v-ggqh-cmq2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-44016
- WEB https://access.redhat.com/security/cve/CVE-2026-44016
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=2492339
- PACKAGE https://github.com/docling-project/docling
- WEB https://github.com/docling-project/docling/releases/tag/v2.91.0
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2142.yaml
- WEB https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44016.json
Ready to move
Start Securing
Free, no credit card | First findings in minutes