Description
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.94.0 until 2.132.0, callers that opt into LatexBackendOptions(tikz_engine="tectonic") invoke docling/backend/latex/engines/tectonic.py to compile an untrusted TikZ body and document preamble without restricting TeX file primitives including \openin and \openout. Crafted input can read files available to the converter and create or overwrite writable files, and enabling the tikz_engine_allow_shell_escape option additionally permits shell commands through TeX. The default configuration, which does not enable Tectonic rendering, is not affected. This vulnerability is fixed in 2.132.0.
Published: 2026-10-05
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Arbitrary file read/write and remote command execution
Action: Immediate Patch
AI Analysis

Impact

Untrusted TikZ diagrams supplied to the optional Tectonic engine in Docling can exploit TeX primitives such as \openin and \openout to read or create files on the host system. When the tikz_engine_allow_shell_escape flag is also enabled, shell commands can be executed, providing full remote code execution capabilities. The vulnerability stems from the lack of sandboxing for the TeX compilation process and is a direct result of the Tectonic rendering option being intentionally open to arbitrary TeX code.

Affected Systems

Versions of Docling from 2.94.0 through 2.132.0 that expose the tikz_engine="tectonic" feature are affected. The affected vendors are the docling-project for both the standard and slim distributions. The fix was released in version 2.132.0; earlier releases do not include mitigation for the described flaw.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, while no EPSS is reported and the flaw is not listed in the CISA KEV catalog. The flaw is exploitable by supplying a crafted document that uses TikZ, which many document processing workflows ingest. Because the TeX engine can access local files and execute shell commands when the optional flag is enabled, an attacker with control over input can achieve local privilege escalation or compromise the system hosting Docling. The risk is higher in environments where the Docling service is exposed to untrusted users, such as public-facing APIs or shared processing pipelines that accept documents from external sources. The attack does not require additional authentication or elevated privileges beyond those already present in the running Docling process.

Generated by OpenCVE AI on October 5, 2026 at 23:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Docling package to version 2.132.0 or newer, which removes the vulnerable channel and includes proper safeguards for TikZ rendering.
  • Configure Docling to not use the tikz_engine="tectonic" option in its LaTeX backend; revert to the default TeX engine or use a sandboxed renderer.
  • Ensure the tikz_engine_allow_shell_escape flag is disabled when rendering documents that may contain TikZ content, or restrict its use to trusted input only.

Generated by OpenCVE AI on October 5, 2026 at 23:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 05 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Docling-project
Docling-project docling
Vendors & Products Docling-project
Docling-project docling

Mon, 05 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Description Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.94.0 until 2.132.0, callers that opt into LatexBackendOptions(tikz_engine="tectonic") invoke docling/backend/latex/engines/tectonic.py to compile an untrusted TikZ body and document preamble without restricting TeX file primitives including \openin and \openout. Crafted input can read files available to the converter and create or overwrite writable files, and enabling the tikz_engine_allow_shell_escape option additionally permits shell commands through TeX. The default configuration, which does not enable Tectonic rendering, is not affected. This vulnerability is fixed in 2.132.0.
Title Docling: Arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
Weaknesses CWE-1188
CWE-22
CWE-73
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Docling-project Docling
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-05T21:26:56.685Z

Reserved: 2026-10-05T19:11:07.946Z

Link: CVE-2026-105744

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-05T22:16:57.177

Modified: 2026-10-05T22:16:57.177

Link: CVE-2026-105744

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T23:15:19Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-73

    External Control of File Name or Path