# PYSEC-2026-4192: Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem

- Database: PyPA
- Published: 2026-10-05
- Modified: 2026-10-15

## Tracked as

- [CVE-2026-105745](https://cve.now/CVE-2026-105745.md): Docling: Plugin entry points are imported before the allow\_external\_plugins check

## Also published as

- [GHSA-9JXX-VJRV-H2RQ](https://cve.now/GHSA-9JXX-VJRV-H2RQ.md) (GitHub)
- [PYSEC-2026-4210](https://cve.now/PYSEC-2026-4210.md) (PyPA)

## Affected versions

- docling (PyPI): from 2.27.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.

## References

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

Page: https://cve.now/PYSEC-2026-4192

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
