Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks thru…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
Docling's JATS XML backend is vulnerable to XML Entity Expansion (XXE) attacks thru 2.61.0. The backend uses etree.parse() to parse XML files without disabling entity resolution. An attacker can craft a malicious XML file containing a nested entity expansion payload (XML Bomb). When processed by Docling, the exponential expansion of entities leads to excessive resource consumption, resulting in a denial of service (DoS) condition on the system running the Docling parser.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | docling (PyPI) | up to 2.61.0 | — | No fix listed | GHSA-cr42-rg2m-mq4q |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- docling (PyPI) Vendor— Affected up to 2.61.0 Fixed in — No fix listed GHSA-cr42-rg2m-mq4q
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31247
- 2026-10-03 Alias added: GHSA-cr42-rg2m-mq4q
References
Sources
- CVE-2026-31247 · CVE Program
- CVE-2026-31247 · NVD
- FIRST EPSS
- GHSA-cr42-rg2m-mq4q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences