7.5high
Docling's METS GBS backend is vulnerable to XML Entity Expansion (XXE) attacks
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9f4q-q82q-4359PYSEC-2026-2454
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| docling (PyPI) | up to 2.61.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El backend METS GBS de Docling es vulnerable a ataques de Expansión de Entidades XML (XXE) hasta la 2.61.0. El backend extrae y valida archivos XML de archivos .tar.gz usando etree.fromstring() sin deshabilitar la resolución de entidades. Un atacante puede elaborar un archivo XML malicioso con definiciones de entidades anidadas (Bomba XML) y empaquetarlo en un archivo .tar.gz. Cuando es procesado por Docling, la expansión exponencial de entidades durante el análisis XML conduce a un consumo excesivo de recursos, lo que resulta en una condición de denegación de servicio (DoS) en el sistema que ejecuta el analizador de Docling.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31248 changed 2026-05-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9f4q-q82q-4359 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-31248 changed 2026-11-08 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2454 changed 2026-07-13 | CC-BY-4.0 |