Advisory

PYSEC-2026-4191

Also known as: CVE-2026-105744, GHSA-x3q2-h9hx-4r4j, PYSEC-2026-4216

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-10-05 22:16 UTC
Modified
2026-10-15 14:55 UTC

Affected packages and fixes

docling

PyPI · All systems

Affected

  • introduced 2.94.0, fixed 2.132.0 (ecosystem)

Fixed versions

2.132.0

Fix

  • Fixed version 2.132.0
    pip install --upgrade docling==2.132.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences