Advisory

PYSEC-2026-4193

Also known as: CVE-2026-105746, GHSA-h42j-9hcc-3cwc

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-10-05 22:16 UTC
Modified
2026-10-08 10:00 UTC

Affected packages and fixes

docling

PyPI · All systems

Affected

  • introduced 2.83.0, fixed 2.131.0 (ecosystem)

Fixed versions

2.131.0

Fix

  • Fixed version 2.131.0
    pip install --upgrade docling==2.131.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences