CVE-2026-105746
2.2low
Docling: KServe v2 OCR engine does not enforce enable_remote_services
- Severity
- 2.2low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- PYSEC-2026-4193GHSA-h42j-9hcc-3cwc
Description
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.83.0 until 2.131.0, the KServeV2OcrModel class defined in docling/models/stages/ocr/kserve_v2_ocr_model.py sends page images to its configured endpoint without checking the pipeline_options.enable_remote_services setting, even when the caller sets that policy control to false. The StandardPdfPipeline._make_ocr_model method also fails to pass the flag into the OCR factory, allowing remote OCR processing in configurations that rely on remote services being disabled. The destination is configured by the caller rather than selected by an attacker. This issue is fixed in 2.131.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| docling-project docling | >= 2.83.0, < 2.131.0 | CVE List |
| docling-project docling-slim | >= 2.83.0, < 2.131.0 | CVE List |
| docling docling | from 2.83.0 before 2.131.0 | NVD |
| docling (PyPI) | from 2.83.0 before 2.131.0 | PyPA Advisory Database |
All scores
| GitHub_M | 2.2low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
References
| https://github.com/docling-project/docling/security/advisories/GHSA-h42j-9hcc-3cwc | fix, patch, vendor-advisory | |
| https://github.com/docling-project/docling/pull/4418 | fix, issue-tracking, patch | |
| https://github.com/docling-project/docling/commit/7d6d0c4810dff4885017c53890be6dc5a22ca68b | fix, patch | |
| https://github.com/docling-project/docling/releases/tag/v2.131.0 | advisory, release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-105746 changed 2026-10-06 | CVE Terms of Use |
| NVD | CVE-2026-105746 changed 2026-10-07 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4193 changed 2026-10-08 | CC-BY-4.0 |