{"id":"CVE-2026-105744","published":"2026-10-05T22:16:57.177","lastModified":"2026-10-07T19:33:16.747","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-22","CWE-73","CWE-1188"],"vendors":["docling"],"products":["docling"],"references":[{"url":"https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342","tags":["Patch"]},{"url":"https://github.com/docling-project/docling/pull/4419","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.132.0","tags":["Release Notes"]},{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j","tags":["Mitigation","Patch","Vendor Advisory","Exploit"]},{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j","tags":["Mitigation","Patch","Vendor Advisory","Exploit"]}],"exploitRefs":[{"url":"https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342","tags":["Patch"]},{"url":"https://github.com/docling-project/docling/pull/4419","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.132.0","tags":["Release Notes"]},{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j","tags":["Mitigation","Patch","Vendor Advisory","Exploit"]},{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j","tags":["Mitigation","Patch","Vendor Advisory","Exploit"]}],"hasPoc":true,"ai":{"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.","remediation":"Upgrade to version 2.132.0 or later to fix the vulnerability in docling's LaTeX compilation engine.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","latex","file-read","shell-escape"],"model":"garnet-coder","analyzedAt":"2026-10-13T09:02:56.385Z"}}