Skip to content
Heist/ feed
Back to feed
Low

Docling: KServe v2 OCR engine does not enforce enable_remote_services

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-105746
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:31 UTC · Revision 1

Source evidence

Docling: KServe v2 OCR engine does not enforce enable_remote_services

core-osv · Original source

Published 5 Oct 2026, 21:31 UTC

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.

osv:CVE-2026-105746
Complete source record
{
  "id": "9edd521935cc6597b363f218e49e5545680f2cf7c76cd87cec34f3cddc35f662",
  "url": "https://osv.dev/vulnerability/CVE-2026-105746",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Docling: KServe v2 OCR engine does not enforce enable_remote_services",
    "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.",
    "evidence": "osv:CVE-2026-105746",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-105746",
      "aliases": [
        "CVE-2026-105746",
        "GHSA-h42j-9hcc-3cwc",
        "PYSEC-2026-4193"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/docling-project/docling",
              "type": "GIT",
              "events": [
                {
                  "introduced": "eacd09f1a24677412c671548142b983b479a883c"
                },
                {
                  "fixed": "cb14c87372f3379de9ac19fa46aacf6abc762119"
                },
                {
                  "fixed": "7d6d0c4810dff4885017c53890be6dc5a22ca68b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.83.0"
                      },
                      {
                        "fixed": "2.131.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7d6d0c4810dff4885017c53890be6dc5a22ca68b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cb14c87372f3379de9ac19fa46aacf6abc762119"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.131.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.130.0",
            "v2.129.0",
            "v2.128.0",
            "v2.127.0",
            "v2.126.0",
            "v2.125.0",
            "v2.124.0",
            "v2.123.1",
            "v2.123.0",
            "v2.122.0",
            "v2.121.0",
            "v2.120.3",
            "v2.120.2",
            "v2.120.1",
            "v2.120.0",
            "v2.119.0",
            "v2.118.1",
            "v2.118.0",
            "v2.117.0",
            "v2.116.0",
            "v2.115.0",
            "v2.114.0",
            "v2.113.0",
            "v2.112.0",
            "v2.111.0",
            "v2.110.0",
            "v2.109.0",
            "v2.108.0",
            "v2.107.0",
            "v2.106.0",
            "v2.105.0",
            "v2.104.0",
            "v2.103.0",
            "v2.102.2",
            "v2.102.1",
            "v2.102.0",
            "v2.101.0",
            "v2.100.0",
            "v2.99.0",
            "v2.98.0",
            "v2.97.0",
            "v2.96.1",
            "v2.96.0",
            "v2.95.0",
            "v2.94.0",
            "v2.93.0",
            "v2.92.0",
            "v2.90.1",
            "v2.91.0",
            "v2.90.0",
            "v2.89.0",
            "v2.88.0",
            "v2.87.0",
            "v2.86.0",
            "v2.85.0",
            "v2.84.0",
            "v2.83.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105746.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.241610497Z",
      "provider": "osv",
      "references": [
        "https://github.com/docling-project/docling/releases/tag/v2.131.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105746.json",
        "https://github.com/docling-project/docling/security/advisories/GHSA-h42j-9hcc-3cwc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-105746",
        "https://github.com/docling-project/docling/commit/7d6d0c4810dff4885017c53890be6dc5a22ca68b",
        "https://github.com/docling-project/docling/pull/4418"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-668",
          "CWE-693"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105746.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-105746",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509870,
  "published_at": "2026-10-05T21:31:12.354+00:00"
}