CVE-2026-105746: Docling: KServe v2 OCR engine does not enforce enable_remote_services

Published Oct 5, 2026
·
Updated

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/kservev2ocrmodel.py sends page images to its configured endpoint without checking the pipelineoptions.enableremoteservices setting, even when the caller sets that policy control to false. The StandardPdfPipeline.makeocrmodel 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.

Affected Software

1 affected component
pypi/docling>=2.83.0<2.131.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Docling to a version that resolves this vulnerability.

    Fixed in 2.131.0

Event History

Oct 5, 2026
CVE Published
via MITRE·09:31 PM
Data Sourced
via MITRE·09:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to unintended remote OCR processing?

Docling versions from 2.83.0 up to, but not including, 2.131.0 are affected when they use the KServe v2 OCR model. Configurations that set pipeline_options.enable_remote_services to false are still exposed if this OCR path is configured.

2

What must an attacker control to exploit this issue?

The remote OCR endpoint is configured by the caller and is not selected by an attacker. The issue causes page images to be sent to that configured endpoint despite the disabled-remote-services policy setting.

3

What is the recommended remediation?

Upgrade Docling to version 2.131.0, which fixes the missing enforcement of enable_remote_services and passes the setting into the OCR factory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203