# CVE-2026-105745: Docling: Plugin entry points are imported before the allow_external_plugins check

- Severity: Medium 6.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-10-05T21:29:23.561Z
- Modified: 2026-10-15T14:55:41.958Z
- Also known as: GHSA-9jxx-vjrv-h2rq, PYSEC-2026-4192, PYSEC-2026-4210
- Weaknesses: CWE-696, CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- docling-project docling: >= 2.27.0, < 2.131.0
- docling-project docling-slim: >= 2.27.0, < 2.131.0
- docling (PyPI): from 2.27.0 before 2.131.0
- docling-slim (PyPI): from 2.92.0 before 2.131.0
- docling docling: from 2.27.0 before 2.131.0

## Every score

- GitHub_M: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/docling-project/docling/security/advisories/GHSA-9jxx-vjrv-h2rq> (fix, patch, vendor-advisory, web)
- <https://github.com/docling-project/docling/pull/4413> (fix, issue-tracking, patch, web)
- <https://github.com/docling-project/docling/commit/0f443b3786e98688a2da3b7c8f56fe5e46af876c> (fix, patch, web)
- <https://github.com/docling-project/docling/releases/tag/v2.131.0> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-105745> (advisory)
- <https://github.com/docling-project/docling> (package)
- <https://pypi.org/project/docling-slim> (package)
- <https://github.com/advisories/GHSA-9jxx-vjrv-h2rq> (advisory)

## Sources

- CVE List: [CVE-2026-105745](https://www.cve.org/CVERecord?id=CVE-2026-105745), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-9jxx-vjrv-h2rq](https://github.com/advisories/GHSA-9jxx-vjrv-h2rq), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-105745](https://nvd.nist.gov/vuln/detail/CVE-2026-105745), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4192](https://osv.dev/vulnerability/PYSEC-2026-4192), CC-BY-4.0, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-4210](https://osv.dev/vulnerability/PYSEC-2026-4210), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-105745 · Whole record: https://cve.day/CVE-2026-105745.json · Rebuilt by cve.day 2026-11-25T22:59:42.186Z
