---
id: CVE-2026-105742
title: >-
  Docling simplifies document processing by parsing diverse formats and
  providing integrations with the generative AI ecosystem
summary: >-
  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 fo…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-201
  - CWE-522
vendor: docling
product: docling
affected:
  - 'docling >= 2.95.0, < 2.132.0'
patched:
  - docling 2.132.0
published: '2026-10-05'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T19:52:37.513'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105742'
references:
  - url: >-
      https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb
    label: security-advisories@github.com
  - url: 'https://github.com/docling-project/docling/pull/4420'
    label: security-advisories@github.com
  - url: 'https://github.com/docling-project/docling/releases/tag/v2.132.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926
    label: security-advisories@github.com
  - url: >-
      https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105742'
  - url: 'https://github.com/advisories/GHSA-p3fw-7699-7926'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105742.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-105742'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2546154'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-105742'
  - url: 'https://github.com/docling-project/docling'
  - url: 'https://pypi.org/project/docling-slim'
tags:
  - nvd
  - ghsa
  - pip
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
  - osv
aliases:
  - GHSA-p3fw-7699-7926
  - PYSEC-2026-4189
  - PYSEC-2026-4212
ecosystem: pip
epss: 0.00254
epssPercentile: 0.16934
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-06T13:54:47.744121Z'
ingestedAt: '2026-10-05T21:34:25.119Z'
---

## Overview

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

- `docling >= 2.95.0, < 2.132.0`

## Remediation

Upgrade past the affected range:

- `docling 2.132.0`

## Package advisory (CVE-2026-105742)

Affected packages:

- `docling >= 2.95.0, < 2.132.0`
- `docling-slim >= 2.95.0, < 2.132.0`

Patched in:

- `docling 2.132.0`
- `docling-slim 2.132.0`

Source: https://github.com/advisories/GHSA-p3fw-7699-7926

## Vendor advisories

- **Red Hat VEX** · Low · affected: Lightspeed Core, Red Hat OpenShift AI (RHOAI) · no fix planned: Lightspeed Core, Red Hat OpenShift AI (RHOAI) · updated 2026-10-06 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105742.json)
