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.
Affected products
docling: docling
References5
- github.com/docling-project/docling/security/advisories/GHSA-x3q… MitigationPatchVendor AdvisoryExploit
- github.com/docling-project/docling/security/advisories/GHSA-x3q… MitigationPatchVendor AdvisoryExploit
- github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbe… Patch
- github.com/docling-project/docling/pull/4419 Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.132.0 Release Notes
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 31 · as of 10 November 2026
- CWE
- CWE-22CWE-73CWE-1188
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.