# CVE-2026-105744: Docling: Arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-05T21:26:56.685Z
- Modified: 2026-10-15T14:55:39.566Z
- Also known as: GHSA-x3q2-h9hx-4r4j, PYSEC-2026-4191, PYSEC-2026-4216
- Weaknesses: CWE-22, CWE-73, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- docling-project docling: >= 2.94.0, < 2.132.0
- docling-project docling-slim: >= 2.94.0, < 2.132.0
- docling (PyPI): from 2.94.0 before 2.132.0
- docling-slim (PyPI): from 2.94.0 before 2.132.0
- docling docling: from 2.94.0 before 2.132.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `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> (exploit, fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/docling-project/docling/pull/4419> (fix, issue-tracking, patch, web)
- <https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342> (fix, patch, web)
- <https://github.com/docling-project/docling/releases/tag/v2.132.0> (advisory, release-notes, web)
- <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)

## Sources

- CVE List: [CVE-2026-105744](https://www.cve.org/CVERecord?id=CVE-2026-105744), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-x3q2-h9hx-4r4j](https://github.com/advisories/GHSA-x3q2-h9hx-4r4j), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-105744](https://nvd.nist.gov/vuln/detail/CVE-2026-105744), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4191](https://osv.dev/vulnerability/PYSEC-2026-4191), CC-BY-4.0, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-4216](https://osv.dev/vulnerability/PYSEC-2026-4216), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-105744 · Whole record: https://cve.day/CVE-2026-105744.json · Rebuilt by cve.day 2026-11-25T22:59:42.186Z
