CVE-2026-105746

Docling: KServe v2 OCR engine does not enforce enable_remote_services

State
Published
Severity
2.2 Low
Published
Oct 5, 2026
Updated
Oct 6, 2026
Reserved
Oct 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.2 LowCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-668 Exposure of Resource to Wrong Sphere
  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
doclingdocling-project
  • >= 2.83.0, < 2.131.0Affected
docling-slimdocling-project
  • >= 2.83.0, < 2.131.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.