Skip to content
LowVulnerability

CVE-2026-105742: Docling image resource loader leaks configured headers to cross-origin redirects

Identifier
CVE-2026-105742
Published
Record updated
View JSON
Affected
  • docling >= 2.95.0, < 2.132.0
  • docling-slim >= 2.95.0, < 2.132.0
Fixed in
2.132.0
  • docling 2.132.0 released October 1, 2026, 4 days before disclosure
  • docling-slim 2.132.0 released October 1, 2026, 4 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

Docling versions 2.95.0 through 2.132.0 have a flaw in the HTML image resource loader in docling/backend/utils/image_resource_loader.py. When enable_remote_fetch=True and fetch_images=True, the loader sends headers set in HTMLBackendOptions.headers to every remote image URL in an untrusted document, including across cross-origin redirects. A document author could therefore obtain the caller's configured credentials, such as API keys and cookies. The default configuration is not affected.

Mitigation

Fixed in 2.132.0.