Skip to main content

Docling EUVDEUVD-2026-92804

| CVE-2026-105744 HIGH
Path Traversal (CWE-22)
2026-10-05 GitHub_M GHSA-x3q2-h9hx-4r4j
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious TikZ/LaTeX document
  2. Delivery
    Submit to Tectonic-enabled Docling converter
  3. Exploit
    Abuse \openin/\openout TeX primitives
  4. Execution
    Read or overwrite converter-accessible files
  5. Impact
    Optionally execute shell commands via shell-escape

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the converter to be explicitly configured with LatexBackendOptions(tikz_engine="tectonic"); the default configuration does not enable Tectonic rendering and is NOT affected. The attacker must supply a crafted LaTeX/TikZ document (body or preamble) that the pipeline then processes (UI:R). File read and file create/overwrite are achievable via unrestricted TeX primitives (\openin, \openout) scoped to files accessible to the converter process; arbitrary shell command execution additionally requires the tikz_engine_allow_shell_escape option to be enabled. Limiting factors: non-default opt-in configuration, the need for a victim/operator to process the malicious document, and that the flaw is fully fixed in 2.132.0 (which adds a best-effort source pre-check and runs Tectonic with --untrusted --only-cached when shell escape is off).

Impact

This is a genuine but conditional high-impact flaw rather than a drop-everything emergency. The NVD CVSS of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) models full read/write (and, with shell escape, code-execution) impact, but it treats the dangerous Tectonic configuration as the baseline. The description is explicit that the default configuration does NOT enable Tectonic rendering and is unaffected, so real-world exposure is gated on an operator having opted into LatexBackendOptions(tikz_engine="tectonic") - a non-default, deliberate choice. The CVSS AC:L arguably understates this: because exploitation depends on a non-default secure-configuration deviation outside the attacker's control, AC:H is a more honest complexity rating. The exploitation signals reinforce a measured priority: EPSS is 0.30% (21st percentile), there is no CISA KEV listing, and no public exploit identified at time of analysis - all pointing to low current exploitation pressure. Net: patch promptly if you run Docling with Tectonic TikZ rendering against untrusted documents; if you use only the default configuration you are not exposed and this can follow normal patch cadence.

Exploit ScenarioDerived

An organization runs a Docling-based document-ingestion or RAG pipeline that has been configured with tikz_engine="tectonic" and accepts LaTeX documents from untrusted users. An attacker submits a document whose TikZ body or preamble uses TeX file primitives (\openin/\openout) to read sensitive files readable by the converter process and to create or overwrite files it can write; if tikz_engine_allow_shell_escape was also enabled, the same document can run arbitrary shell commands. No public exploit is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 07, 2026

Docling 2.94.0 through 2.131.x allows an attacker-supplied LaTeX/TikZ document to read files accessible to the converter process and create or overwrite writable files when the caller has explicitly opted into Tectonic rendering via LatexBackendOptions(tikz_engine="tectonic"); enabling the additional tikz_engine_allow_shell_escape option escalates this to shell command execution through TeX. The default Docling configuration does not enable Tectonic rendering and is not affected, and exploitation further requires a victim or operator to feed the crafted document into the pipeline (UI:R), which is why the practical risk is conditional despite the high CVSS base score. Both docling and docling-slim are affected; the flaw is fully fixed in 2.132.0, EPSS is a low 0.30% (21st percentile) and no public exploit code or confirmed active exploitation was identified at time of analysis.

Earlier versions of this analysis (1)
v1 Oct 05, 2026 - 21:51 CVSS 7.5

Docling 2.94.0 through 2.131.x can be induced to read files accessible to the converter process and to create or overwrite writable files when an operator has explicitly enabled the non-default Tectonic TikZ renderer via LatexBackendOptions(tikz_engine="tectonic"). The bundled Tectonic engine compiles an untrusted TikZ body and document preamble without restricting TeX file primitives such as \openin and \openout, so a crafted LaTeX document supplied to the converter achieves a path-traversal-style file access primitive; if the separate tikz_engine_allow_shell_escape option is also turned on, the same input can additionally run shell commands through TeX. The issue is reachable remotely without authentication (CVSS PR:N) but requires user interaction - a victim must actually run the converter on the malicious document - and carries high attack complexity; no public exploit code or confirmed active exploitation was identified at time of analysis, the default Docling configuration that does not enable Tectonic rendering is unaffected, and the flaw is remediated in 2.132.0.

RemediationAI

Vendor-released patch: 2.132.0. Upgrade both docling and docling-slim to 2.132.0 or later, which flips allow_shell_escape to default False, runs Tectonic with --untrusted --only-cached when shell escape is disabled, and adds the source pre-check that refuses to render diagrams referencing file primitives or absolute/parent-directory paths (GHSA-x3q2-h9hx-4r4j; PR 4419; commit 38b6fa0a465d46fdacbbec333f50fa19c4f6b342; release v2.132.0). If an immediate upgrade is not possible, the strongest compensating control is simply not to opt in: leave LatexBackendOptions at its default (no tikz_engine="tectonic"), which removes the vulnerable compile path entirely at the cost of losing TikZ diagram rendering; equivalently, disable or remove Tectonic from converter hosts. Never set tikz_engine_allow_shell_escape=True, and treat any pre-existing configuration that enables it as compromised-equivalent, since it permits \write18 shell commands - this is a hard on/off switch with a direct functionality trade-off for documents that genuinely need shell escape (they will no longer render). Where Tectonic rendering must be retained for untrusted input, run the conversion process in a locked-down container or sandbox with a read-only root filesystem, a dedicated writable temp directory that is destroyed per run, no host credential files or SSH/cloud keys mounted, a non-privileged user, and outbound network egress blocked; also note that the upstream path pre-check is documented as best-effort and can be bypassed by macro-constructed paths, so isolation - not the pre-check alone - is the dependable boundary. No KEV listing or public exploit code was identified for this CVE at time of analysis, so patching can follow normal risk-based prioritization, with precedence given to any service that accepts caller-supplied LaTeX documents and has enabled the Tectonic engine.

Affected VersionsENISA

docling 2.94.0, < 2.132.0
docling-slim 2.94.0, < 2.132.0

Affected Packages

pypi docling fix: 2.132.0
pypi docling-slim fix: 2.132.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Docling's LaTeX backend can optionally delegate TikZ diagram rendering to the Tectonic TeX engine (docling/backend/latex/engines/tectonic.py). In the vulnerable range, the engine compiled an untrusted TikZ body and document preamble without restricting TeX file primitives, so constructs such as \openin, \openout, and the XeTeX picture/PDF file primitives (XeTeXpicfile, XeTeXpdffile) were available, along with path-bearing commands like \input, \include, \includegraphics, \InputIfFileExists and \graphicspath. That constitutes the CWE-22 (improper limitation of a pathname to a restricted directory / path traversal) root cause: the compile step inherited the converter process's filesystem access with no confinement boundary, allowing relative or absolute paths to reach outside the intended staging directory. When tikz_engine_allow_shell_escape is set, Tectonic is invoked with -Z shell-escape, which turns on \write18 and allows shell commands as well. The upstream fix in 2.132.0 changes the default for allow_shell_escape to False, runs Tectonic with --untrusted --only-cached when shell escape is off (disabling shell escape, extra search paths, and network bundle fetches), and adds a best-effort pre-check (_precheck_staged_files / _find_unsafe_construct) that scans staged files for file primitives and absolute, drive-letter, tilde, or parent-directory (..) path arguments and skips rendering those diagrams. The patch and its own documentation explicitly describe this check as best-effort, since it cannot see paths constructed by macros or every TeX file-opening mechanism, and recommend processing untrusted LaTeX in an isolated environment. The vulnerable configuration is non-default and reachable across the network path (AV:N) but requires user interaction and, per the assessed vector, higher attack complexity than the vendor's base score implies.

Know when Docling Slim gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY HIGH
NVD 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

AC:H because exploitation depends on a non-default Tectonic opt-in outside attacker control; PR:N as the attacker only supplies a document, UI:R as an operator must process it; arbitrary file read/write yields C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.0 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Oct 07, 2026 - 19:43 vuln.today
v2 - CVSS changed
CVSS changed
Oct 07, 2026 - 19:37 NVD
7.5 (HIGH) 8.8 (HIGH)
Patch available
Oct 05, 2026 - 23:02 EUVD
CVE Published
Oct 05, 2026 - 21:26 cve.org
HIGH 7.5

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 pypi packages depend on docling (2 direct, 0 indirect)
  • 3 pypi packages depend on docling-slim (2 direct, 2 indirect)

Ecosystem-wide dependent count for version 2.94.0 and other introduced versions.

Technical POC Analysis

CWE-22 (path traversal), with CWE-73 (external control of file path) and CWE-1188 (insecure default) as listed co-weaknesses.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

The Docling document-conversion library, including docling-slim, contains a high-severity flaw that could allow untrusted LaTeX/TikZ documents to trigger file reads, file writes, or shell command execution only when non-default Tectonic rendering and shell escape options are enabled. Most organizations are protected by Docling's default configuration, but teams that deliberately enabled those options in document-ingestion pipelines should treat affected systems as potentially exposed to untrusted content. Leadership should prioritize patching because a vendor-released fix is available, while noting that no public exploit identified at time of analysis and exploitation requires a crafted document to be fed into the pipeline.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular Python document-parsing library in GenAI/RAG stacks, not universally deployed
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy