CVE-2026-105744
HIGH 8.8CVSS 3.1Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
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.
- Published
- 5 Oct 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1188CWE-22CWE-73
- Also known as
- GHSA-x3q2-h9hx-4r4jPYSEC-2026-4191PYSEC-2026-4216
- Sources
- NVDJSONOSV GHSA-x3q2-h9hx-4r4jJSONOSV PYSEC-2026-4191JSONOSV PYSEC-2026-4216JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | docling | doclingcpe:2.3:a:docling:docling:*:*:*:*:*:*:*:* |
>= 2.94.0, < 2.132.0 | 2.132.0 |
| OSV | PyPI | docling | >= 2.94.0, < 2.132.0 | 2.132.0 |
| OSV | PyPI | docling-slim | >= 2.94.0, < 2.132.0 | 2.132.0 |
References
- https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342 · Patch, WEB, FIX
- https://github.com/docling-project/docling/pull/4419 · Issue Tracking, Patch, WEB, FIX
- https://github.com/docling-project/docling/releases/tag/v2.132.0 · Release Notes, WEB, ADVISORY
- https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j · Mitigation, Patch, Vendor Advisory, Exploit, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2026-105744 · ADVISORY
- https://github.com/docling-project/docling · PACKAGE
- https://pypi.org/project/docling-slim · PACKAGE
- https://github.com/advisories/GHSA-x3q2-h9hx-4r4j · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 5 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Oct 2026)