CVE Explorer
CVE-2026-31248
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 servi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-776","description":"CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-776","description":"CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/docling-project/docling"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/cna/references/0
{"url":"https://www.notion.so/CVE-2026-31248-35d1e1393188818585b2ce3b9ce24686"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72688f90ad7c055e496baea43add9fba3ade92c114cda4113a748f6c3b74a9cb · sha256:eb9181265dcb82ff… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.