CVE-2026-44018

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

Published Jun 26, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from unsafe extraction of archives and XML parsing in Docling’s METS-GBS backend. Security checks that should validate archive contents and XML structure are missing, allowing an attacker to craft a malicious METS-GBS archive that, when processed, can cause the application to read arbitrary files on the host, consume excessive CPU or memory resources, or crash. The consequences are sensitive data exposure and denial of service for legitimate users.

Affected Systems

Affects docling-project’s Docling application versions 2.45.0 through 2.90.x; the fix was introduced in 2.91.0. Systems that expose the METS-GBS ingestion endpoint are at risk and should use the patched release.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity; no EPSS data is available and the vulnerability is not listed in CISA KEV. Attackers can exploit the flaw remotely by submitting crafted METS-GBS archives to the ingestion component. Because the issue involves insufficient input validation, the risk can be mitigated by applying the official patch or restricting upload sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Docling 2.91.0 or later.
  • If an immediate upgrade is not possible, block or monitor ingestion of METS-GBS archives from untrusted sources.
  • Validate archive contents before extraction and enforce strict file path restrictions in the METS-GBS backend; apply defensive checks consistent with the weakness types CWE-409, CWE-611, and CWE-776.

Generated by OpenCVE AI on June 26, 2026 at 17:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r3xg-rg9j-67fv Docling: Unsafe Archive Extraction and XML Parsing in METS-GBS Backend
History
Type Values Removed Values Added
First Time appeared Docling-project
Docling-project docling
Vendors & Products Docling-project
Docling-project docling
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Docling: Unsafe Archive Extraction and XML Parsing in METS-GBS Backend
Weaknesses CWE-409
CWE-611
CWE-776
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • 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')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 26, 2026, 7:13 PM
Reserved
May 4, 2026, 9:24 PM
Status
Analyzed
Published
Jun 26, 2026, 4:16 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Moderate
Public date
Jun 26, 2026, 3:40 PM