CVE-2026-105744 Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine

High 7.5 Published Updated

Attackers can read or write arbitrary files and potentially execute commands via crafted TikZ input when the opt-in Tectonic engine is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-105744?

CVE-2026-105744 is a high-severity path traversal vulnerability in docling-project docling, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-73, CWE-22, CWE-1188

Which versions are affected by CVE-2026-105744?

6 open source packages ship an affected version, including docling and docling-slim. It affects 1 product.

PackageAffectedFixed in
docling PyPIFrom 2.94.02.132.0
docling PyPIFrom 2.94.02.132.0
docling PyPIFrom 2.94.02.132.0
docling-slim PyPIFrom 2.94.02.132.0
docling-slim PyPIFrom 2.94.02.132.0
docling-slim PyPIFrom 2.94.02.132.0

Products include Docling Docling.

How do I fix CVE-2026-105744?

Upgrade docling to 2.132.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-105744 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105744 exists.

Sources

Also known as GHSA-x3q2-h9hx-4r4j, PYSEC-2026-4191, PYSEC-2026-4216.

Is CVE-2026-105744 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free