Advisory

PYSEC-2026-4189

Also known as: CVE-2026-105742, GHSA-p3fw-7699-7926, PYSEC-2026-4212

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-10-05 22:16 UTC
Modified
2026-10-15 14:55 UTC

Affected packages and fixes

docling

PyPI · All systems

Affected

  • introduced 2.95.0, fixed 2.132.0 (ecosystem)

Fixed versions

2.132.0

Fix

  • Fixed version 2.132.0
    pip install --upgrade docling==2.132.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences