Live threats

All CVEs

CVE-2026-31248

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
May 11, 2026
Updated
Nov 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-776
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Docling's METS GBS backend is vulnerable to XML Entity Expansion (XXE) attacks thru 2.61.0. The backend extracts and validates XML files from .tar.gz archives using etree.fromstring() without disabling entity resolution. An attacker can craft a malicious XML file with nested entity definitions (XML Bomb) and package it into a .tar.gz archive. When processed by Docling, the exponential expansion of entities during XML parsing leads to excessive resource consumption, resulting in a denial of service (DoS) condition on the system running the Docling parser.

Original NVD text.

What to do

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI docling ≤ 2.61.0 no fixed version —
PyPI docling ≤ 2.61.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-9f4q-q82q-4359, PYSEC-2026-2454). Check the version in your lockfile before upgrading.

Official sources

References

Links published by the sources. Open them with care.