PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-105742 docling-project CVE debrief

CVE-2026-105742 is a vulnerability in the docling package where configured HTTP headers are sent to every remote image host named by a document. This can lead to the disclosure of credentials to a host chosen by the document author. The vulnerability arises from the docling package merging `HTMLBackendOptions.headers` into each remote request without checking the destination against the source document's origin. As a result, an untrusted document that references an attacker-controlled image URL can receive the caller's credentials. Affected configurations include callers that set `headers` together with `enable_remote_fetch=True` and `fetch_images=True`, and convert untrusted HTML.

Vendor
docling-project
Product
docling
CVSS
LOW 3.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-07
Original CVE updated
2026-10-07
Advisory published
2026-10-07
Advisory updated
2026-10-07

Who should care

Defenders who use the docling package, especially those who set headers together with enable_remote_fetch=True and fetch_images=True, should assess their exposure and prioritize updating to version 2.132.0 or later.

Why it matters

CVE-2026-105742 is a vulnerability in the docling package that can lead to the disclosure of credentials. Defenders should prioritize verifying their configurations and updating to version 2.132.0 or later to mitigate this vulnerability.

  • Disclosure of credentials to a host chosen by the document author
  • Potential for unauthorized access to sensitive information
  • Need for verification of configurations and updates to mitigate vulnerability

Technical summary

The docling package sends configured HTTP headers on every remote image request without checking the destination against the source document's origin. This can lead to the disclosure of credentials to a host chosen by the document author. The vulnerability is caused by the `image_resource_loader.py` module in `docling/backend/utils` merging `options.headers` into each remote request. Custom headers such as `X-API-Key` or `Cookie` are also forwarded across redirects. Affected configurations include callers that set `headers` together with `enable_remote_fetch=True` and `fetch_images=True`, and convert untrusted HTML.

Defensive priority

Defenders should prioritize verifying their configurations and updating to version 2.132.0 or later to mitigate this vulnerability.

Recommended defensive actions

  • Verify configurations and update to version 2.132.0 or later
  • Review and restrict the use of --html-image-headers with --html-image-fetch remote or all
  • Monitor for suspicious activity and implement compensating controls
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The vulnerability is caused by the docling package sending configured HTTP headers on every remote image request without checking the destination against the source document's origin. This can lead to the disclosure of credentials to a host chosen by the document author.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-105742 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-105742

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-105742 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-105742

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Docling: Configured HTTP headers sent to every remote image host named by a document

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-p3fw-7699-7926.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/docling-project/docling/pull/4420

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/docling-project/docling

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/docling-project/docling/releases/tag/v2.132.0

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.