PyPA Advisory Database
PYSEC-2026-2144
Details
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.45.0 until 2.91.0, the METS-GBS backend's XML parsing and the input document format detection lacked security controls. An attacker could craft malicious METS-GBS archives that, when processed, could read sensitive files, exhaust system resources, or cause application crashes. This vulnerability is fixed in 2.91.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | docling | From 2.45.0 before 2.91.0 (fixed in 2.91.0) |