{"id":"CVE-2026-44018","aliases":["CVE-2026-44018","GHSA-r3xg-rg9j-67fv","PYSEC-2026-2144"],"related":[],"kind":"vulnerability","state":"published","title":"Docling: Unsafe Archive Extraction and XML Parsing in METS-GBS Backend","summary":"Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.45.0 until 2.91.0, the METS-GBS backend's XML parsing and the input document format detection lacked security controls. An attacker could craft malicious METS-GBS archives that, when processed, could read sensitive files, exhaust system resources, or cause application crashes. 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.45.0 until 2.91.0, the METS-GBS backend's XML parsing and the input document format detection lacked security controls. An attacker could craft malicious METS-GBS archives that, when processed, could read sensitive files, exhaust system resources, or cause application crashes. This vulnerability is fixed in 2.91.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe METS-GBS backend's XML parsing and the input document format detection lacked security controls, enabling:\n- XML External Entity (XXE) attacks to read local files or cause denial of service\n- Decompression bombs (zip bombs) to exhaust memory and disk space\n- Unbounded archive extraction consuming system resources\n\nAn attacker could craft malicious METS-GBS archives that, when processed, could read sensitive files, exhaust system resources, or cause application crashes.\n\n### Patches\nFixed in version 2.91.0. The fix implements:\n- Secure XML parsing with `resolve_entities=False`, `load_dtd=False`, and `no_network=True`\n- Configurable limits: 300 MB total extraction size, 10 MB per file, 1000 member count\n- Cumulative size tracking across all extractions\n- Early termination when limits are exceeded\n- Secure format detection of METS-GBS tar archives with `_detect_mets_gbs()` method: maximum file size (10 MB per file), maximum member count (1000 members), and exception handling to gracefully fail when limits are exceeded\n\n### Workarounds\nAvoid processing METS-GBS archives from untrusted sources. If necessary, pre-validate archives in an isolated environment with resource limits.\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 al analizar diversos formatos y al proporcionar integraciones con el ecosistema de IA generativa. Desde la versión 2.45.0 hasta la 2.91.0, el análisis XML del backend de METS-GBS y la detección del formato del documento de entrada carecían de controles de seguridad. Un atacante podría crear archivos METS-GBS maliciosos que, al ser procesados, podrían leer archivos sensibles, agotar los recursos del sistema o provocar caídas de la aplicación. Esta vulnerabilidad está corregida en la versión 2.91.0.","source":"nvd"}],"published":"2026-06-03T21:13:32.000Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","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:N/I:N/A:H","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:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"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:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-409","CWE-611","CWE-776"],"affected":[{"ranges":[{"version":">= 2.45.0, < 2.91.0","status":"affected"}],"vendor":"docling-project","product":"docling","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.45.0","status":"affected","fixed":"2.91.0"}],"ecosystem":"PyPI","package":"docling","purl":"pkg:pypi/docling","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.45.0","fixed":"2.91.0"}],"vendor":"docling","product":"docling","cpe":"cpe:2.3:a:docling:docling:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.45.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-r3xg-rg9j-67fv","tags":["fix","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","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44018","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-2144.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-26T19:10:31.944Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44018","url":"https://www.cve.org/CVERecord?id=CVE-2026-44018","licence":"CVE Terms of Use","modified":"2026-06-26T19:13:39.619Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r3xg-rg9j-67fv","url":"https://github.com/advisories/GHSA-r3xg-rg9j-67fv","licence":"CC-BY-4.0","modified":"2026-07-21T15:15:50.260Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44018","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44018","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2144","url":"https://osv.dev/vulnerability/PYSEC-2026-2144","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:23.386Z"}],"updatedAt":"2026-11-25T22:59:26.496Z","epss":{"score":0.00154,"percentile":0.04729,"date":"2026-12-01T12:00:22.000Z"}}