Vulnerability PYSEC-2026-4189

Medium Risk
MEDIUM RISK
CVSS Score: 5.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
2 days ago
October 05, 2026 at 10:16 PM UTC
No summary available
2.95.0 - 2.131.0
2.95.0 - 2.131.0

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.

Impacted packages

Timeline

Published
2 days ago
October 05, 2026 at 10:16 PM UTC
Fixed (2.132.0)
7 days ago
October 01, 2026 at 09:47 AM UTC
Last Modified
2 hours ago
October 08, 2026 at 10:00 AM UTC