CVE-2026-31248: High severity Docling Docling METS GBS backend vulnerability

Published May 11, 2026
·
Updated

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 Software

1 affected component
Docling Docling METS GBS backend<=2.61.0

Event History

May 11, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Exposure is limited to Docling deployments that use the METS GBS backend to extract and validate XML files from .tar.gz archives. The provided information does not establish whether this backend is enabled or used by default.

2

What does an attacker need to exploit this issue?

An attacker needs to cause the METS GBS backend to process a crafted .tar.gz archive containing XML with nested entity definitions. The CVSS vector indicates no privileges or user interaction are required.

3

How can I determine whether my installation is affected?

Check whether the deployment uses the Docling METS GBS backend and accepts or processes .tar.gz archives containing XML. Versions through 2.61.0 are identified as vulnerable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203