[ CVE-2026-105744 · Published 5 Oct 2026 ]
Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]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.
[ Fixes ]Fixes and patches
- docling 2.132.0Fixed version · GitHub Advisories · pip package docling: upgrade to 2.132.0 or later (affected >= 2.94.0, < 2.132.0)
- docling-slim 2.132.0Fixed version · GitHub Advisories · pip package docling-slim: upgrade to 2.132.0 or later (affected >= 2.94.0, < 2.132.0)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Packages ]Affected open-source packages
- docling pipAffected >= 2.94.0, < 2.132.0 · fixed in 2.132.0 · GHSA-x3q2-h9hx-4r4j
- docling-slim pipAffected >= 2.94.0, < 2.132.0 · fixed in 2.132.0 · GHSA-x3q2-h9hx-4r4j
[ References ]References
- github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342Patch
- github.com/docling-project/docling/pull/4419Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.132.0Release Notes
- github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4jMitigationPatchVendor Advisory