Skip to main content

Docling CVE-2026-105746

| EUVDEUVD-2026-92808 MEDIUM
Exposure of Resource to Wrong Sphere (CWE-668)
2026-10-05 GitHub_M
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Configure KServe v2 remote OCR engine
  2. Exploit
    enable_remote_services=false silently ignored
  3. Impact
    Page image crops transmitted to configured remote server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three concrete conditions must all hold: (1) the caller configures OCR with KserveV2OcrOptions (a KServe v2 / Triton remote inference server, e.g. url="localhost:8001"); (2) the caller sets pipeline_options.enable_remote_services=false expecting remote calls to be suppressed; and (3) documents are then processed through StandardPdfPipeline, whose _make_ocr_model fails to forward the flag to the OCR factory. Under these conditions, affected versions 2.83.0-2.130.x transmit page-image crops to the caller-configured endpoint despite the opt-out. Limiting factors that sharply reduce real-world risk: the remote destination is operator-configured, not attacker-chosen (no path for an external attacker to redirect data to themselves); the flaw is inert unless the remote KServe OCR engine is explicitly configured (non-default); and only confidentiality of processed page images is affected - no integrity, availability, or code-execution impact.

Impact

This is a genuinely low-priority issue whose signals are internally consistent rather than conflicting. The vendor CVSS of 2.2 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N) reflects a confidentiality-only policy-enforcement defect, not a classic exploitable vulnerability: there is no attacker-controlled destination (the CVE explicitly states 'The destination is configured by the caller rather than selected by an attacker'), so this is a governance/data-residency control failure rather than a path for an external adversary to exfiltrate data to themselves. No EPSS score was provided, the CVE is not listed in CISA KEV, and no proof-of-concept is referenced - all three exploitation-pressure signals are absent or negative, which aligns with the low CVSS and CWE-668 (Exposure of Resource to Wrong Sphere). The practical risk is confined to organizations that deliberately set pipeline_options.enable_remote_services=false for compliance/privacy reasons while also configuring the KServe v2 OCR engine; for them, page images leak to the operator-chosen remote server despite the opt-out. There is no privilege escalation, no integrity or availability impact, and no remote code execution. Bottom line: a real but minor control-bypass/data-leak bug relevant to privacy-sensitive deployments, not an urgent patch-now threat.

Exploit ScenarioDerived

An organization deploys Docling with enable_remote_services=false to keep document contents on-premises for compliance, while configuring KserveV2OcrOptions pointing at a remote KServe v2/Triton OCR server. In affected versions (2.83.0 through 2.130.x) the disabled-remote-services policy is silently ignored, so page crops of every processed document are transmitted over the network to that configured endpoint, exposing potentially sensitive content to a system the operator intended to keep out of the loop. No public exploit is required - the leak occurs during normal document processing, and no POC was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 05, 2026

Docling 2.83.0 through 2.130.x ignores the enable_remote_services=False policy when OCR is configured with KserveV2OcrOptions, so page-image crops are still transmitted to the caller-configured KServe v2/Triton inference endpoint during PDF processing. The defect is a security-control bypass rather than attacker-driven exfiltration: the remote destination is chosen by the operator, the vulnerable code path is inert unless a second, non-default remote OCR engine is explicitly configured, and satisfying the assessed vector (AV:L/AC:H/PR:H) requires local access with high privileges. The assessed impact is confined to low-severity confidentiality exposure of processed page images, with no integrity, availability, or code-execution effect; no public exploit code and no CISA KEV entry were identified at time of analysis, and the flaw is fixed in 2.131.0.

RemediationAI

Upgrade to Docling 2.131.0 or later, which is the vendor-released patch that makes KserveV2OcrModel reject use without an explicit enable_remote_services=True by raising OperationNotAllowed before any client is created and correctly forwards the flag from StandardPdfPipeline._make_ocr_model; the release is published at https://github.com/docling-project/docling/releases/tag/v2.131.0 and details are in advisory GHSA-h42j-9hcc-3cwc. If upgrading immediately is not possible, the most effective compensating control is to stop using KserveV2OcrOptions entirely and select a local OCR engine (for example OcrMacOptions on macOS, or an EasyOCR/Tesseract-backed option), accepting the trade-off of losing remote GPU-accelerated OCR throughput and possibly lower recognition quality on non-Latin scripts. Where remote OCR is genuinely required and must stay on the unpatched version, restrict it by network policy: bind the KServe v2/Triton endpoint to a loopback or internal-only interface and add host-level egress rules that block outbound connections from Docling processes to any address the operator has not explicitly approved, with the trade-off that legitimate remote inference traffic must be allow-listed per endpoint and misconfigured rules will break OCR processing. Note that simply leaving enable_remote_services at its default false is not a valid mitigation on affected versions, since that is precisely the control the bug bypasses. Operators should also treat processed page images as potentially having left the host boundary and review data-handling obligations accordingly.

Affected VersionsENISA

docling-slim 2.83.0, < 2.131.0
docling 2.83.0, < 2.131.0

Affected Packages

pypi docling fix: 2.131.0
euvd docling_slim_2_83_0 fix: 2.131.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Docling is a Python document-processing library that parses PDFs and other formats and exposes OCR as a pluggable pipeline stage. The affected component is the KserveV2OcrModel class in docling/models/stages/ocr/kserve_v2_ocr_model.py, which serializes page crops and forwards them to a KServe v2-compatible inference server (for example Triton) over gRPC or HTTP for remote OCR. Docling exposes a policy flag, pipeline_options.enable_remote_services, intended to guarantee that no user data leaves the host unless the caller opts in; KserveV2OcrModel never accepted or evaluated that flag, and StandardPdfPipeline._make_ocr_model likewise failed to forward it into the OCR factory, so the opt-out was silently ineffective. This maps to CWE-668 (Exposure of Resource to Wrong Sphere), specifically a bypass of an operator-facing data-egress control rather than a memory-safety or injection defect. The upstream fix (PR #4418, commit 7d6d0c4) adds an enable_remote_services parameter defaulting to False to KserveV2OcrModel and raises OperationNotAllowed prior to instantiating the inference client when the flag is not explicitly set, while StandardPdfPipeline passes the flag through only when the OCR options instance is KserveV2OcrOptions so that other OCR engines and external plugins retain their existing constructor signature. Documentation and an integration test were updated alongside the code change. Notably, the destination host, port, transport, and model name are all supplied by the calling application, so there is no mechanism for an external attacker to redirect page images to an endpoint of their choosing.

Know when Docling Slim gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY LOW
NVD 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 1.9 LOW

Triggering requires operator control of pipeline configuration (PR:H) and a specific non-default combination of remote OCR plus disabled remote services (AC:H); it is config-driven rather than network-attacker-driven (AV:L) with only low confidentiality impact.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:H/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 2.2 LOW

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

3
Severity Changed
Oct 07, 2026 - 19:07 NVD
LOW MEDIUM
CVSS changed
Oct 07, 2026 - 19:07 NVD
2.2 (LOW) 5.3 (MEDIUM)
Patch available
Oct 05, 2026 - 23:02 EUVD

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular open-source AI document-parsing library, not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy