← Back to search

CVE-2026-105744

7.5 HIGHpublic exploit available

Published 2026-10-05 · Updated 2026-10-07

AI risk analysis

Summary
The vulnerability allows attackers to read arbitrary files and execute shell commands on the system by exploiting unsafe LaTeX compilation in docling's Tectonic backend, which lacks proper restrictions on TeX primitives like \openin and \openout.
Exploitability
Exploitation requires a user to submit crafted input that enables the TikZ backend with Tectonic engine, making it moderately difficult but possible for attackers to craft malicious LaTeX content that can read files and execute shell commands.
Blast radius
The impact could be significant as attackers could access sensitive files on the system and potentially execute arbitrary code, especially when shell escape is enabled in document processing workflows.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 2.132.0 or later to fix the vulnerability in docling's LaTeX compilation engine.
rcelatexfile-readshell-escape

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-22, CWE-73, CWE-1188

Vendors

docling

Products

docling

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.