Loading advisory.
Loading advisory.
Docling: Potential Path Traversal via LaTeX \includegraphics and \input Commands
The LaTeX backend's handling of \includegraphics, \input, and \include commands lacked path containment validation.
Published 2026-06-03 21:14 UTC · Modified 2026-07-20 21:46 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| docling | PyPI | >= 2.73.0, < 2.91.0 versions 2.73.0, 2.73.1, 2.74.0, 2.75.0, 2.76.0, 2.77.0, 2.78.0, 2.79.0, 2.80.0, 2.81.0, 2.82.0, 2.83.0, 2.84.0, 2.85.0, 2.86.0, 2.87.0, 2.88.0, 2.89.0, 2.90.0 | 2.91.0 | pip install --upgrade 'docling>=2.91.0' |
The LaTeX backend's handling of \includegraphics, \input, and \include commands lacked path containment validation. Attackers could craft malicious LaTeX documents with path traversal sequences (e.g., ../../../etc/passwd) to:
Read arbitrary files from the file system accessible to the process
Include sensitive files in the converted document output
Potentially access configuration files, credentials, or other sensitive data
Fixed in version 2.91.0. The fix implements strict path validation using Path.resolve().is_relative_to() to ensure all resolved paths remain within the base document directory. Attempts to traverse outside the base directory are logged and blocked.
Avoid processing untrusted LaTeX documents. If processing is necessary, run in a sandboxed environment with restricted file system access.
Fix release: v2.91.0
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.002 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |