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 products
docling: docling
References4
- github.com/docling-project/docling/security/advisories/GHSA-h42… PatchVendor Advisory
- github.com/docling-project/docling/commit/7d6d0c4810dff4885017c… Patch
- github.com/docling-project/docling/pull/4418 Issue TrackingPatch
- github.com/docling-project/docling/releases/tag/v2.131.0 Release Notes
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 13 · as of 10 November 2026
- CWE
- CWE-668CWE-693
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.