{"id":"CVE-2026-105745","published":"2026-10-05T21:29:23Z","modified":"2026-10-06T14:48:57Z","title":"Docling: Plugin entry points are imported before the allow_external_plugins check","vendor":"docling-project","product":"docling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.04145,"provenance":"source"},"cwes":[{"id":"CWE-696","name":"Incorrect Behavior Order"},{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-9jxx-vjrv-h2rq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docling-project/docling/pull/4413","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/commit/0f443b3786e98688a2da3b7c8f56fe5e46af876c","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.131.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":0.83},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"docling-project","affectedVersions":[{"vendor":"docling-project","product":"docling","versions":[">= 2.27.0, < 2.131.0"]},{"vendor":"docling-project","product":"docling-slim","versions":[">= 2.27.0, < 2.131.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-06T14:35:59.694379Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"docling","vulnerableRanges":[">=2.27.0, <2.131.0"],"patched":["2.131.0"],"from":["GHSA-9jxx-vjrv-h2rq","PYSEC-2026-4192"],"provenance":"source"},{"ecosystem":"PyPI","package":"docling-slim","vulnerableRanges":[">=2.92.0, <2.131.0"],"patched":["2.131.0"],"from":["GHSA-9jxx-vjrv-h2rq","PYSEC-2026-4210"],"provenance":"source"}],"summary":{"text":"Docling's plugin factories in docling/models/factories/base_factory.py import every module registered under the Docling entry-point group before checking the allow_external_plugins setting, affecting versions from 2.27.0 up to, but not including, 2.131.0. An attacker who can get a malicious or compromised package installed alongside Docling can run import-time code when Docling starts, even with external plugins disabled, which requires local access, low privileges, and a user to take some action such as launching Docling.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:22Z"},"euvd":{"id":"EUVD-2026-92805","exploited":false,"provenance":"source"}}