{"id":"CVE-2026-44022","aliases":["CVE-2026-44022","GHSA-2j5p-7p5m-cvqr","PYSEC-2026-2145"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe 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:\n- Read arbitrary files from the file system accessible to the process\n- Include sensitive files in the converted document output\n- Potentially access configuration files, credentials, or other sensitive data\n\n### Patches\nFixed 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.\n\n### Workarounds\nAvoid processing untrusted LaTeX documents. If processing is necessary, run in a sandboxed environment with restricted file system access.\n\n### References\n- Fix release: [v2.91.0](https://github.com/docling-project/docling/releases/tag/v2.91.0)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Docling simplifica el procesamiento de documentos analizando diversos formatos y proporcionando integraciones con el ecosistema de IA generativa. Desde la versión 2.73.0 hasta la 2.91.0, el manejo del backend de LaTeX de los comandos \\includegraphics, \\input y \\include carecía de validación de contención de ruta. Los atacantes podían crear documentos LaTeX maliciosos con secuencias de salto de ruta para leer archivos arbitrarios del sistema de archivos accesible al proceso, incluir archivos sensibles en la salida del documento convertido o, potencialmente, acceder a archivos de configuración, credenciales u otros datos sensibles. Esta vulnerabilidad se corrigió en la versión 2.91.0.","source":"nvd"}],"published":"2026-06-03T21:14:35.000Z","modified":"2026-10-25T22:10:00.150Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 2.73.0, < 2.91.0","status":"affected"}],"vendor":"docling-project","product":"docling","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.73.0","status":"affected","fixed":"2.91.0"}],"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.73.0","fixed":"2.91.0"}],"vendor":"docling","product":"docling","cpe":"cpe:2.3:a:docling:docling:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.73.0","status":"affected","fixed":"2.91.0"}],"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","source":"pysec"}],"references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-2j5p-7p5m-cvqr","tags":["fix","mitigation","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.91.0","tags":["advisory","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44022","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/docling-project/docling","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-2145.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-25T13:17:46.252Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44022","url":"https://www.cve.org/CVERecord?id=CVE-2026-44022","licence":"CVE Terms of Use","modified":"2026-06-25T13:17:57.563Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2j5p-7p5m-cvqr","url":"https://github.com/advisories/GHSA-2j5p-7p5m-cvqr","licence":"CC-BY-4.0","modified":"2026-07-20T21:46:42.760Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44022","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44022","licence":"Public domain","modified":"2026-10-25T22:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2145","url":"https://osv.dev/vulnerability/PYSEC-2026-2145","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:23.386Z"}],"updatedAt":"2026-11-25T22:59:25.711Z","epss":{"score":0.00163,"percentile":0.05693,"date":"2026-12-01T12:00:22.000Z"}}