CVE-2026-105745 PUBLISHED

Docling: Plugin entry points are imported before the allow_external_plugins check

Assigner: GitHub_M
Reserved: 05.10.2026 Published: 05.10.2026 Updated: 06.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 6.7

Product Status

Vendor docling-project
Product docling
Versions
  • Version >= 2.27.0, < 2.131.0 is affected
Vendor docling-project
Product docling-slim
Versions
  • Version >= 2.27.0, < 2.131.0 is affected

References

Problem Types

  • CWE-696: Incorrect Behavior Order CWE
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere CWE