HIGH 8.2

CVE-2026-44016: Docling HTML Rendering Code Execution Vulnerability (2.82.0–2.90.x)

Docling is a document processing library that handles multiple file formats and integrates with AI systems. Versions 2.82.0 through 2.90.x contain a flaw in the HTML rendering feature (an optional capability that must be explicitly enabled). When processing untrusted HTML documents, the Playwright-based renderer can execute arbitrary JavaScript code and make unrestricted network requests, potentially exposing internal services or exfiltrating sensitive data. The vulnerability requires user interaction—specifically, processing a malicious HTML file—but once triggered, can lead to complete compromise of the rendering environment. The fix is available in version 2.91.0.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.2 HIGH · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
Weaknesses (CWE)
CWE-918, CWE-94
Affected products
1 configuration(s)
Published / Modified
2026-06-24 / 2026-07-15

NVD description (verbatim)

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.

5 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-44016 affects the Playwright-based HTML rendering backend in Docling when explicitly enabled. The vulnerability stems from insufficient sandboxing of the rendering context, allowing JavaScript execution and network access that should be restricted when processing untrusted content. The attack vector is network-based; an attacker supplies a crafted HTML document that, when processed by an affected Docling instance with rendering enabled, executes malicious JavaScript or establishes connections to internal or external services. The CVSS 3.1 score of 8.2 (HIGH) reflects the high confidentiality and integrity impact, though availability impact is lower and the attack complexity is high due to the requirement that rendering must be explicitly configured and a user must process the malicious document.

Business impact

Organizations using Docling for document processing—particularly those ingesting user-submitted or externally sourced HTML content—face risk of data theft, unauthorized system reconnaissance, or lateral movement through SSRF attacks. If Docling runs on servers with access to internal services (databases, APIs, cloud metadata endpoints), an attacker could exploit this vulnerability to reach those services without direct network access. The impact is amplified if Docling processes documents from untrusted sources without strict validation, and if the HTML rendering feature is enabled, either unknowingly or as a deliberate choice for document feature preservation.

Affected systems

Docling versions 2.82.0 through 2.90.x are vulnerable when the HTML rendering feature is explicitly configured. The default configuration does not enable rendering, so organizations using Docling with default settings are not at risk from this specific issue. Only deployments that have actively enabled the HTML rendering option are exposed. Verify your Docling version and configuration to determine if you are affected.

Exploitability

Exploitation requires that an attacker either submit a malicious HTML document directly to a Docling instance or compromise a data source feeding HTML into the processing pipeline. The attack complexity is rated as high because rendering must be explicitly enabled, reducing the baseline risk. However, once the preconditions are met (rendering enabled + malicious HTML processed), the attacker gains arbitrary code execution within the rendering environment. No CVE Exploitability eXchange (KEV) entry exists for this vulnerability, indicating it is not yet observed in active exploitation campaigns, though this does not eliminate risk.

Remediation

Upgrade Docling to version 2.91.0 or later immediately. If immediate upgrade is not possible, disable the HTML rendering feature by ensuring the rendering option remains deactivated in your configuration. Additionally, implement strict input validation and sanitization on all HTML documents before passing them to Docling, and restrict network access from the Docling process to only essential external services.

Patch guidance

Apply version 2.91.0 or later. Verify the patch availability through the official Docling repository and release notes. Test the updated version in a staging environment to ensure compatibility with your document processing workflows. If you have customizations or integrations dependent on the rendering feature, review the 2.91.0 release notes for any behavioral changes and update your code accordingly.

Detection guidance

Monitor for Docling version information in your environment using software inventory tools. Check configuration files and instantiation code for explicit enabling of the HTML rendering option. Log or alert on any Docling processing of HTML documents, especially from untrusted sources. If you cannot immediately patch, implement network-level controls to restrict outbound connections from servers running Docling, limiting communication to known-good internal services only. Review recent document processing logs to identify any suspicious HTML files that may have been processed before patching.

Why prioritize this

Prioritize this vulnerability if you have enabled HTML rendering in Docling and process any documents from external or untrusted sources. Even with the high CVSS score, the explicit configuration requirement means that many deployments are not affected. However, if rendering is enabled, the potential for code execution and lateral movement through SSRF makes this a critical priority. Patch within your standard high-severity SLA.

Risk score, explained

The CVSS 3.1 score of 8.2 (HIGH) is justified by high confidentiality and integrity impact (C:H, I:H), reflecting the ability to exfiltrate data and execute code. Availability impact is rated as low (A:L) because the vulnerability does not inherently bring down the rendering service. The attack vector is network-based (AV:N), but attack complexity is high (AC:H) due to the requirement that rendering be explicitly enabled and a user must process the malicious document. User interaction is required (UI:R), which further elevates complexity. The scope change (S:C) acknowledges that compromise of the rendering context can affect other components or services accessible from that environment.

Frequently asked questions

Does this vulnerability affect my Docling deployment if I haven't explicitly enabled HTML rendering?

No. The HTML rendering feature is disabled by default in Docling. Only deployments that have explicitly configured the rendering option are vulnerable. Verify your configuration by checking where you instantiate or configure Docling to confirm whether rendering is enabled.

Can an attacker exploit this without sending me a malicious HTML file?

Not directly. The vulnerability requires processing a crafted HTML document. However, if your Docling instance pulls documents from a public or untrusted source—such as user uploads or third-party APIs—an attacker can introduce malicious HTML through those channels. The more automated and unvetted your document ingestion, the higher your risk.

What should I do if I rely on HTML rendering for my use case?

Upgrade immediately to version 2.91.0 or later, which includes the fix. Do not delay patching to preserve older functionality. If you must maintain your current version temporarily, implement strict input validation, disable network access from the Docling process except to essential services, and limit document sources to fully trusted origins.

Will disabling HTML rendering break my application?

It depends on your use case. If your workflows depend on extracting content from HTML in a way that requires rendering (such as complex CSS-driven layouts), disabling rendering will change output quality. However, if you primarily process other formats (PDF, DOCX, etc.) and only occasionally handle HTML, disabling rendering is a safe interim measure until you can patch.

This analysis is provided for informational purposes to help security teams assess and prioritize vulnerability remediation. Statements about patch versions, affected software behavior, and vendor advisory details should be verified against official vendor documentation and security advisories. SEC.co does not provide guarantees about exploit availability, real-world exploitation status, or the completeness of the vulnerability surface. Organizations should conduct their own testing and validation in their environment before deploying patches or making configuration changes. This vulnerability is not currently tracked in the CVE Exploitability eXchange (KEV) catalog, but absence from KEV does not indicate absence of risk. Source: NVD (public-domain), retrieved 2026-08-02. Analysis generated by SEC.co (claude-haiku-4-5).