8.2high
Docling: Unsafe Playwright-based HTML Rendering
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.38% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pj2v-ggqh-cmq2PYSEC-2026-2142
Description
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. FIn 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. This vulnerability is fixed in 2.91.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| docling-project docling | >= 2.82.0, < 2.91.0 | CVE List |
| rhoai/odh-autorag-rhel9 | Not specified | CVE List |
| docling (PyPI) | from 2.82.0 before 2.91.0 | GitHub Advisory Database, PyPA Advisory Database |
| docling docling | from 2.82.0 before 2.91.0 | NVD |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| redhat-SADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| PyPA Advisory Database | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
Classification
What each source says
CVE List
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. FIn 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. This vulnerability is fixed in 2.91.0.
GitHub Advisory Database
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
NVD (es)
Docling simplifica el procesamiento de documentos al analizar diversos formatos y al proporcionar integraciones con el ecosistema de IA generativa. En las versiones >= 2.82.0, anterior a 2.91.0, si el backend HTML estaba configurado explícitamente para la renderización (opción de renderización desactivada por defecto), entonces la función de renderización basada en Playwright podría permitir la ejecución de JavaScript y el acceso irrestricto a la red al procesar documentos HTML no confiables. Un atacante podría crear HTML malicioso que ejecute JavaScript arbitrario en el contexto de renderización o realice solicitudes de red no autorizadas a servicios internos, lo que podría conducir a ataques SSRF, exfiltración de datos o ejecución remota de código en el entorno de renderización. Esta vulnerabilidad está corregida en 2.91.0.
References
| https://github.com/docling-project/docling/security/advisories/GHSA-pj2v-ggqh-cmq2 | fix, mitigation, patch, vendor-advisory, web | |
| https://github.com/docling-project/docling/releases/tag/v2.91.0 | advisory, product, release-notes, web | |
| https://access.redhat.com/security/cve/CVE-2026-44016 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2492339 | issue-tracking, report, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44016.json | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-44016 | advisory | |
| https://github.com/docling-project/docling | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2142.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44016 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pj2v-ggqh-cmq2 changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2026-44016 changed 2026-10-23 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2142 changed 2026-07-13 | CC-BY-4.0 |