Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. docling
  4. ›
  5. CVE-2026-44018

CVE-2026-44018: Docling: Unsafe Archive Extraction and XML Parsing in METS-GBS Backend

June 3, 2026

The METS-GBS backend’s XML parsing and the input document format detection lacked security controls, enabling:

  • XML External Entity (XXE) attacks to read local files or cause denial of service
  • Decompression bombs (zip bombs) to exhaust memory and disk space
  • Unbounded archive extraction consuming system resources

An attacker could craft malicious METS-GBS archives that, when processed, could read sensitive files, exhaust system resources, or cause application crashes.

References

  • github.com/advisories/GHSA-r3xg-rg9j-67fv
  • github.com/docling-project/docling/releases/tag/v2.91.0
  • github.com/docling-project/docling/security/advisories/GHSA-r3xg-rg9j-67fv
  • nvd.nist.gov/vuln/detail/CVE-2026-44018

Code Behaviors & Features

Detect and mitigate CVE-2026-44018 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.45.0 before 2.91.0

Fixed versions

  • 2.91.0

Solution

Upgrade to version 2.91.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
  • CWE-611: Improper Restriction of XML External Entity Reference
  • CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Source file

pypi/docling/CVE-2026-44018.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:34 +0000.