Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M
CVE-2026-105744Docling: Arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
High 7.5
In plain English
A high-severity path traversal in docling from docling-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | docling | 2.132.0 | GHSA-x3q2-h9hx-4r4j |
| PyPI | docling | 2.132.0 | PYSEC-2026-4191 |
| PyPI | docling-slim | 2.132.0 | GHSA-x3q2-h9hx-4r4j |
| PyPI | docling-slim | 2.132.0 | PYSEC-2026-4216 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| docling-project | docling | >= 2.94.0, < 2.132.0 |
| docling-project | docling-slim | >= 2.94.0, < 2.132.0 |
Weakness: CWE-22, CWE-73, CWE-1188 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/docling-project/docling/security/advisories/GHSA-x3q2-h9hx-4r4j x_refsource_CONFIRM
- https://github.com/docling-project/docling/pull/4419 x_refsource_MISC
- https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342 x_refsource_MISC
- https://github.com/docling-project/docling/releases/tag/v2.132.0 x_refsource_MISC