CVE-2026-105745

Docling: Plugin entry points are imported before the allow_external_plugins check

State
Published
Severity
6.7 Medium
Published
Oct 5, 2026
Updated
Oct 6, 2026
Reserved
Oct 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

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

Affected Products

ProductVersions
doclingdocling-project
  • >= 2.27.0, < 2.131.0Affected
docling-slimdocling-project
  • >= 2.27.0, < 2.131.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.