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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.7
- **CVSS:** 3.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.25% (percentile 18, 2026-12-01)
- **CWE:** CWE-201, CWE-522
- **Aliases:** GHSA-p3fw-7699-7926, PYSEC-2026-4189, PYSEC-2026-4212
- **Published:** 2026-10-05T21:21:43.538Z
- **Modified:** 2026-10-15T14:55:49.109Z

## Who should check

- Projects that depend on PyPI package docling (\>= 2.95.0, \< 2.132.0)
- Projects that depend on PyPI package docling-slim (\>= 2.95.0, \< 2.132.0)
- Anyone running docling-project docling \>= 2.95.0, \< 2.132.0
- Anyone running docling-project docling-slim \>= 2.95.0, \< 2.132.0

## 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 and fixed versions

- PyPI `docling`: affected \>= 2.95.0, \< 2.132.0; fixed 2.132.0 (osv)
- PyPI `docling-slim`: affected \>= 2.95.0, \< 2.132.0; fixed 2.132.0 (osv)
- docling-project docling: \>= 2.95.0, \< 2.132.0 (cvelist)
- docling-project docling-slim: \>= 2.95.0, \< 2.132.0 (cvelist)

## Mitigation

- Upgrade docling to 2.132.0 or later.
- Upgrade docling-slim to 2.132.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-105742. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-105742.md
Affected: docling >= 2.95.0, < 2.132.0; docling-slim >= 2.95.0, < 2.132.0
Fixed in: 2.132.0

Steps:
1. Search this machine and project for docling (PyPI), docling-slim (PyPI), docling-project docling, docling-project docling-slim: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-105742 being exploited?

There is no confirmed exploitation: CVE-2026-105742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-12-01).

### How serious is CVE-2026-105742?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-105742?

docling \>= 2.95.0, \< 2.132.0; docling-slim \>= 2.95.0, \< 2.132.0.

### Is there a fix for CVE-2026-105742?

Yes. Fixed in 2.132.0. Upgrade docling to 2.132.0 or later. Upgrade docling-slim to 2.132.0 or later.

### How do I check if I'm affected by CVE-2026-105742?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926>
- vendor: <https://github.com/docling-project/docling/releases/tag/v2.132.0>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-105742>
- vendor: <https://github.com/advisories/GHSA-p3fw-7699-7926>
- patch: <https://github.com/docling-project/docling/pull/4420>
- patch: <https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb>
- other: <https://github.com/docling-project/docling>
- other: <https://pypi.org/project/docling-slim>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-105742>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p3fw-7699-7926> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4189> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4212> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-105742> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-105742>
