CVE-2026-105744
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
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 7.5 · High · EPSS 0.4% · Public exploit · Fix available
- Published
- Updated
Stack: python
Affected products and versions
docling
- Versions
- >= 2.94.0, < 2.132.0: Affected
No fix published
docling-slim
- Versions
- >= 2.94.0, < 2.132.0: Affected
No fix published
docling PyPI
- Versions
- 2.100.0
- 2.101.0
- 2.102.0
- 2.102.1
- 2.102.2
- 2.103.0
- 2.104.0
- 2.105.0
- 2.106.0
- 2.107.0
- 2.108.0
- 2.109.0
- 2.110.0
- 2.111.0
- 2.112.0
- 2.113.0
- 2.114.0
- 2.115.0
- 2.116.0
- 2.117.0
- 2.118.0
- 2.118.1
- 2.119.0
- 2.120.1
- 2.120.2
- 2.120.3
- 2.121.0
- 2.122.0
- 2.123.0
- 2.123.1
- 2.124.0
- 2.125.0
- 2.126.0
- 2.127.0
- 2.128.0
- 2.129.0
- 2.130.0
- 2.131.0
- 2.94.0
- 2.95.0
- 2.96.0
- 2.96.1
- 2.97.0
- 2.98.0
- 2.99.0
- Affected ranges
- ECOSYSTEM: ≥ 2.94.0, < 2.132.0
Update to 2.132.0
docling-slim PyPI
- Versions
- 2.100.0
- 2.101.0
- 2.102.0
- 2.102.1
- 2.102.2
- 2.103.0
- 2.104.0
- 2.105.0
- 2.106.0
- 2.107.0
- 2.108.0
- 2.109.0
- 2.110.0
- 2.111.0
- 2.112.0
- 2.113.0
- 2.114.0
- 2.115.0
- 2.116.0
- 2.117.0
- 2.118.0
- 2.118.1
- 2.119.0
- 2.120.1
- 2.120.2
- 2.120.3
- 2.121.0
- 2.122.0
- 2.123.0
- 2.123.1
- 2.124.0
- 2.125.0
- 2.126.0
- 2.127.0
- 2.128.0
- 2.129.0
- 2.130.0
- 2.131.0
- 2.94.0
- 2.95.0
- 2.96.0
- 2.96.1
- 2.97.0
- 2.98.0
- 2.99.0
- Affected ranges
- ECOSYSTEM: ≥ 2.94.0, < 2.132.0
Update to 2.132.0
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-105744