VDB
KO
HIGH 7.1

PYSEC-2026-2144

Quick fix

PYSEC-2026-2144 — docling: upgrade to the fixed version with the command below.

pip install --upgrade 'docling>=2.91.0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / docling
Introduced in: 2.45.0 Fixed in: 2.91.0
Fix pip install --upgrade 'docling>=2.91.0'

References