Skip to content
Heist/ feed
Back to feed
Medium

Docling: Potential Path Traversal via LaTeX \includegraphics and \input Commands

Type: advisorySources: OSV

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.73.0 until 2.91.0, he LaTeX backend's handling of \includegraphics, \input, and \include commands lacked path containment validation. Attackers could craft malicious LaTeX documents with path traversal sequences to read arbitrary files from the file system accessible to the process, include sensitive files in the converted document output, or potentially access configuration files, credentials, or other sensitive data This vulnerability is fixed in 2.91.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44022
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:28 UTC · Revision 1

Source evidence

Docling: Potential Path Traversal via LaTeX \includegraphics and \input Commands

core-osv · Original source

Published 24 Jun 2026, 17:47 UTC

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.73.0 until 2.91.0, he LaTeX backend's handling of \includegraphics, \input, and \include commands lacked path containment validation. Attackers could craft malicious LaTeX documents with path traversal sequences to read arbitrary files from the file system accessible to the process, include sensitive files in the converted document output, or potentially access configuration files, credentials, or other sensitive data This vulnerability is fixed in 2.91.0.

osv:CVE-2026-44022
Complete source record
{
  "id": "93a025ceaaa4acf113a0ac489826a0c02c32df1a8ed828a3e382a50c4d4bb6e2",
  "url": "https://osv.dev/vulnerability/CVE-2026-44022",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Docling: Potential Path Traversal via LaTeX \\includegraphics and \\input Commands",
    "summary": "Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.73.0 until 2.91.0, he LaTeX backend's handling of \\includegraphics, \\input, and \\include commands lacked path containment validation. Attackers could craft malicious LaTeX documents with path traversal sequences to read arbitrary files from the file system accessible to the process, include sensitive files in the converted document output, or potentially access configuration files, credentials, or other sensitive data This vulnerability is fixed in 2.91.0.",
    "evidence": "osv:CVE-2026-44022",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-44022",
      "aliases": [
        "CVE-2026-44022",
        "GHSA-2j5p-7p5m-cvqr",
        "PYSEC-2026-2145"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/docling-project/docling",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9166b47e738410c5233003d2d635258e57165d8e"
                },
                {
                  "fixed": "188b6a192c9463fcd2b666b0d68e300feec0ad2a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.73.0"
                      },
                      {
                        "fixed": "2.91.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "188b6a192c9463fcd2b666b0d68e300feec0ad2a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.91.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:docling:docling:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "2.73.0"
                      },
                      {
                        "fixed": "2.91.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.90.1",
            "v2.90.0",
            "v2.89.0",
            "v2.88.0",
            "v2.87.0",
            "v2.86.0",
            "v2.85.0",
            "v2.84.0",
            "v2.83.0",
            "v2.82.0",
            "v2.81.0",
            "v2.80.0",
            "v2.79.0",
            "v2.78.0",
            "v2.77.0",
            "v2.76.0",
            "v2.75.0",
            "v2.74.0",
            "v2.73.1",
            "v2.73.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44022.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.949602709Z",
      "provider": "osv",
      "references": [
        "https://github.com/docling-project/docling/releases/tag/v2.91.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44022.json",
        "https://github.com/docling-project/docling/security/advisories/GHSA-2j5p-7p5m-cvqr",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44022"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44022.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44022",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491630,
  "published_at": "2026-06-24T17:47:25.553+00:00"
}