Description
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.
Affected products
docling: docling
References4
- github.com/docling-project/docling/security/advisories/GHSA-9jx… PatchVendor Advisory
- github.com/docling-project/docling/commit/0f443b3786e98688a2da3… Patch
- github.com/docling-project/docling/pull/4413 Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.131.0 Release Notes
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 2 · as of 10 November 2026
- CWE
- CWE-696CWE-829
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.