# CVE-2026-44022: Docling path traversal in LaTeX backend

Source: https://junglewise.ai/threats/cve-2026-44022-docling-path-traversal-in-latex-backend  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-24. Updated: 2026-06-24  
License: CC BY 4.0 with a link back

CVE-2026-44022 · Severity: medium · CVSS 5.5 · Published 2026-06-24

Docling is a tool used to convert various document formats into formats compatible with AI systems. A security flaw in its LaTeX processing component allows a malicious document to trick the software into reading sensitive files from the server or computer where it is running. This could lead to the exposure of private data, configuration files, or credentials if an attacker can convince a user or automated system to process a specially crafted LaTeX file.

Technologies: [docling (PyPI)](https://junglewise.ai/threats/technologies/pypi-docling). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-44022 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-44022 being exploited in the wild.

**How severe is CVE-2026-44022?** Medium severity, with a CVSS score of 5.5, published 24 June 2026.

**Which products and versions are affected?** docling (PyPI) ECOSYSTEM:introduced=2.73.0,fixed=2.91.0.

**Is there a fix for CVE-2026-44022?** Yes. docling (PyPI): upgrade to 2.91.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-44022 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-44022?** Check whether you run docling (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- docling (PyPI): upgrade to 2.91.0 or later

  ```sh
  pip install "docling>=2.91.0"
  ```


## Technical details

A path traversal vulnerability (CWE-22) exists in Docling's LaTeX backend due to insufficient validation of file paths in specific commands. The handling of \includegraphics, \input, and \include commands failed to ensure that resolved paths remained within the intended base directory. An attacker can exploit this by providing a malicious LaTeX document containing path traversal sequences (e.g., ../../../etc/passwd). When processed, the application may include the contents of arbitrary system files in its output. The vulnerability is fixed in version 2.91.0 by implementing strict path validation using Path.resolve().is_relative_to().

## Affected products

- docling-project Docling >= 2.73.0, < 2.91.0

## Identifiers

- CVE-2026-44022
- GHSA-2j5p-7p5m-cvqr
- PYSEC-2026-2145

## Timeline

- 2026-04-23: patched: Version 2.91.0 released
- 2026-06-02: advisory: GitHub Security Advisory published
- 2026-06-24: disclosed: NVD publication date

## References

- [https://github.com/docling-project/docling/releases/tag/v2.91.0](https://github.com/docling-project/docling/releases/tag/v2.91.0)
- [https://github.com/docling-project/docling/security/advisories/GHSA-2j5p-7p5m-cvqr](https://github.com/docling-project/docling/security/advisories/GHSA-2j5p-7p5m-cvqr)

## Related threats

- [Docling METS-GBS archive member limit enforced after full enumeration](https://junglewise.ai/threats/duplicate-advisory-docling-mets-gbs-archive-member-limit-enforced-after-087423a8)
- [Docling arbitrary filesystem read via unvalidated xlink:href in ODF images](https://junglewise.ai/threats/cve-2026-105751-docling-simplifies-document-processing-by-parsing-diverse)
- [Docling local file disclosure in HTML rendering](https://junglewise.ai/threats/cve-2026-105750-docling-simplifies-document-processing-by-parsing-diverse)
- [Docling unbounded table span allocation denial of service](https://junglewise.ai/threats/cve-2026-105749-docling-simplifies-document-processing-by-parsing-diverse)
- [IBM Docling arbitrary local file read via JSON backend](https://junglewise.ai/threats/cve-2026-105748-docling-simplifies-document-processing-by-parsing-diverse)
