Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M

CVE-2026-105742Docling: Configured HTTP headers sent to every remote image host named by a document

Low 3.7

In plain English

A low-severity security flaw in docling from docling-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.3%top 82.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIdocling2.132.0GHSA-p3fw-7699-7926
PyPIdocling2.132.0PYSEC-2026-4189
PyPIdocling-slim2.132.0GHSA-p3fw-7699-7926
PyPIdocling-slim2.132.0PYSEC-2026-4212

Affected products (as reported)

VendorProductVersions
docling-project docling >= 2.95.0, < 2.132.0
docling-project docling-slim >= 2.95.0, < 2.132.0

Weakness: CWE-201, CWE-522 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

References