VDB
Sign up
HIGH7.8

PYSEC-2026-4192

Quick fix

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

pip install --upgrade 'docling>=2.131.0'

Details

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.27.0 until 2.131.0, Docling plugin factories in docling/models/factories/base_factory.py call load_setuptools_entrypoints() before applying the allow_external_plugins setting, so every module registered in the Docling entry-point group is imported even when external plugins are disabled. An installed third-party or compromised package can therefore execute import-time code when Docling starts, while the subsequent namespace filter misleadingly reports that the plugin was not loaded. This issue is fixed in 2.131.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/docling
Introduced in: 2.27.0Fixed in: 2.131.0
Fixpip install --upgrade 'docling>=2.131.0'

References