Skip to main content

Docling EUVDEUVD-2026-92802

| CVE-2026-105742 MEDIUM
Insertion of Sensitive Information Into Sent Data (CWE-201)
2026-10-05 GitHub_M GHSA-p3fw-7699-7926
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted HTML document for conversion
  2. Exploit
    Reference remote image that redirects cross-origin
  3. Execution
    Loader follows redirect carrying configured headers
  4. Impact
    Attacker server captures leaked API keys and cookies

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
Exploitation Conditions

Exploitation requires a specifically-configured, non-default deployment: HTMLBackendOptions must have both enable_remote_fetch=True and fetch_images=True, AND the operator must have set HTMLBackendOptions.headers to include sensitive values (e.g. an Authorization bearer token/API key or session cookie). The attacker must be able to supply an untrusted HTML document to the converter and control (or influence a redirect to) a remote image URL on a foreign origin; the pre-fix loader then forwards the configured headers across that cross-origin redirect instead of restricting them to the source document's origin. Limiting factors that reduce real-world risk: the default configuration is NOT affected (remote fetching and configured headers are both off by default), so only operators who deliberately enabled remote image fetching with credentials are exposed; impact is confined to the specific headers the operator configured.

Impact

This is a genuinely low-priority issue for most operators despite being a real credential-disclosure bug (CWE-201). The input CVSS of 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N) correctly reflects a narrow, confidentiality-only flaw: AC:H captures the requirement for a non-default configuration plus an attacker-staged cross-origin redirect, and C:L/I:N/A:N limits impact to disclosure of whatever headers the operator configured. No EPSS score was provided in the input, and there is no CISA KEV listing and no public exploit identified at time of analysis - all three exploitation signals are therefore either absent or negative, which is consistent with a low-urgency vulnerability. The one tension worth flagging: the description states the leaked headers can be 'API keys and cookies,' which is a direct, serious credential exposure that arguably justifies C:H rather than C:L - so the real-world consequence of a successful leak (downstream account/API compromise) can be more severe than the 3.7 base score suggests, even though the probability of exploitation is low because the vulnerable behavior requires enable_remote_fetch=True, fetch_images=True, and operator-configured credential headers, none of which are the default.

Exploit ScenarioDerived

An operator runs Docling in a RAG/ingestion pipeline with enable_remote_fetch=True, fetch_images=True, and an HTMLBackendOptions.headers value carrying an Authorization/API-key or cookie. An attacker submits a crafted HTML document whose <img> URL points to a host they control (or one that 302-redirects cross-origin to one), and Docling's image_resource_loader follows the redirect while still attaching the configured credentials, handing the attacker the secret. No public exploit 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's HTML backend forwards operator-configured HTTP headers - bearer tokens, API keys, cookies set via HTMLBackendOptions.headers - to every remote image URL named by an untrusted HTML document, including after a cross-origin redirect, leaking the caller's credentials to whoever authored the document. The flaw lives in docling/backend/utils/image_resource_loader.py in versions 2.95.0 through 2.131.x and is only reachable in a deliberately non-default configuration where both enable_remote_fetch and fetch_images are enabled and sensitive headers have been configured; the default configuration carries no exposure. Upstream scored it CVSS 3.7, while independent assessment rates the confidentiality impact as High given that live credentials are disclosed; no public exploit code has been identified at time of analysis, and the issue is fixed in 2.132.0.

RemediationAI

Vendor-released patch: upgrade to Docling 2.132.0 or later (release tag v2.132.0), which scopes HTMLBackendOptions.headers to the source document's origin by default and exposes headers_allowed_origins for explicitly naming additional trusted origins; the fix is also visible in PR #4420 and commit 5e469137f275ffc443306a30d12a3a45bceb80fb, with the advisory at https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926. If an immediate upgrade is not possible, the highest-value compensating control is to remove credentials from HTMLBackendOptions.headers entirely and instead front authenticated image retrieval with an internal proxy that injects the token - the trade-off is added infrastructure and loss of the direct per-request header convenience. Disabling remote image fetching (leave enable_remote_fetch=False, the default, or set fetch_images=False) fully removes the vulnerable path at the cost of losing images referenced from remote hosts. A third option is to route the converter's outbound egress through a proxy that strips Authorization, Cookie, and similar headers on cross-origin hops, which preserves functionality but depends on correct proxy configuration. Operators who keep credentials configured should treat any converted untrusted HTML as hostile input and, if they must run pre-2.132.0 code, isolate the conversion process so its configured secrets are short-lived and scoped to nothing else.

Affected VersionsENISA

docling-slim 2.95.0, < 2.132.0
docling 2.95.0, < 2.132.0

Affected Packages

pypi docling fix: 2.132.0
pypi docling-slim fix: 2.132.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi

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

Technical ContextAI · show details

Docling is a document-conversion library that parses HTML, PDF, and other formats for generative-AI pipelines, distributed as the docling and docling-slim packages (CPE cpe:2.3:a:docling-project:docling and cpe:2.3:a:docling-project:docling-slim). Its HTML backend accepts an HTMLBackendOptions object with fetch_images, enable_remote_fetch, and headers settings; when remote fetching is on and headers are configured, the image resource loader in docling/backend/utils/image_resource_loader.py downloads remote <img> sources using Python's requests/urllib3 stack, which follows HTTP redirects by default. The loader passed the configured headers to every image URL the parsed document referenced without binding those headers to the source document's origin, so a malicious document could point an image at an attacker-controlled host, or redirect a legitimate-looking URL, and have the credentials replayed to that foreign origin. This is class CWE-201 (Insertion of Sensitive Information Into Sent Data): sensitive values are inappropriately embedded into outbound requests rather than being scoped to a trusted endpoint. The same code path also backs the headless-Chromium rendering route, where remote subresource requests are fulfilled by the Python loader, so the header-scoping defect applied there as well. The upstream fix introduces an explicit allow-list - headers are sent only to the source page's origin by default, or to each origin listed in the new headers_allowed_origins option - plus address validation, per-redirect re-checking, and a max_remote_image_bytes cap, and it warns when headers are configured but no origin is allowed to receive them.

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 5.9 MEDIUM

AV:N and PR:N since an unauthenticated document author triggers it remotely; AC:H for the required non-default config plus staged cross-origin redirect; C:H because leaked API keys/cookies are a direct, serious disclosure; I/A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 3.7 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 - 20:07 NVD
LOW MEDIUM
CVSS changed
Oct 07, 2026 - 20:07 NVD
3.7 (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.95.0 until 2.132.0, the HTML image resource loader in docling/backend/utils/image_resource_loader.py forwards headers configured through the HTMLBackendOptions.headers setting to every remote image URL named by an untrusted document when enable_remote_fetch=True and fetch_images=True. The loader does not restrict those credentials to the source document's origin, allowing requests that carry custom headers such as API keys and cookies to follow cross-origin redirects and expose the caller's configured credentials to a document author. The default configuration is not affected because remote fetching and configured headers are required. This issue is fixed in 2.132.0.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 pypi packages depend on docling (2 direct, 0 indirect)
  • 3 pypi packages depend on docling-slim (1 direct, 2 indirect)

Ecosystem-wide dependent count for version 2.95.0 and other introduced versions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular Python document-parsing library in GenAI/RAG pipelines, not ubiquitous
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 Yes
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
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