CVE-2026-31248
High 7.5 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- 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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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.