Skip to main content
← All vulnerabilities
CVE-2026-105746PYSEC-2026-4193GHSA-H42J-9HCC-3CWC

Docling: KServe v2 OCR engine does not enforce enable_remote_services

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.131.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • docling-project docling

    From 2.83.0 · fixed in 2.131.0

  • docling-project docling-slim

    From 2.83.0 · fixed in 2.131.0

  • doclingPyPI

    From 2.83.0 · fixed in 2.131.0

References 4

GitHub · docling-project/docling