{"id":"CVE-2026-105742","published":"2026-10-05T21:21:43Z","modified":"2026-10-06T13:55:17Z","title":"Docling: Configured HTTP headers sent to every remote image host named by a document","vendor":"docling-project","product":"docling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00388,"percentile":0.24608,"provenance":"source"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/docling-project/docling/security/advisories/GHSA-p3fw-7699-7926","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docling-project/docling/pull/4420","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb","tags":["x_refsource_MISC"]},{"url":"https://github.com/docling-project/docling/releases/tag/v2.132.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":4.92},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"docling-project","affectedVersions":[{"vendor":"docling-project","product":"docling","versions":[">= 2.95.0, < 2.132.0"]},{"vendor":"docling-project","product":"docling-slim","versions":[">= 2.95.0, < 2.132.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-06T13:54:47.744121Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"docling","vulnerableRanges":[">=2.95.0, <2.132.0"],"patched":["2.132.0"],"from":["GHSA-p3fw-7699-7926","PYSEC-2026-4189"],"provenance":"source"},{"ecosystem":"PyPI","package":"docling-slim","vulnerableRanges":[">=2.95.0, <2.132.0"],"patched":["2.132.0"],"from":["GHSA-p3fw-7699-7926","PYSEC-2026-4212"],"provenance":"source"}],"summary":{"text":"Docling's HTML image resource loader (docling/backend/utils/image_resource_loader.py) forwards custom headers configured via HTMLBackendOptions.headers to every remote image URL referenced by an untrusted document, without restricting them to the document's origin. An attacker who authors a document can cause those configured credentials, such as API keys and cookies, to be sent to attacker-controlled hosts via cross-origin redirects, but only when the caller has enabled remote fetching and image fetching and has configured headers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:22Z"},"euvd":{"id":"EUVD-2026-92802","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-docling-project-docling-cve-2026-105742","children":[{"from":"CVE-2026-105742","to":"CVE-2026-105744","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["docling/datamodel/backend_options.py"],"commits":["https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb","https://github.com/docling-project/docling/commit/38b6fa0a465d46fdacbbec333f50fa19c4f6b342"],"basis":"rarely changed file"}]},{"from":"CVE-2026-105742","to":"CVE-2026-105751","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["docling/backend/utils/image_resource_loader.py"],"commits":["https://github.com/docling-project/docling/commit/5e469137f275ffc443306a30d12a3a45bceb80fb","https://github.com/docling-project/docling/commit/6ee9965adfc364b3696a67c825ec2f0d9cee4311"],"basis":"shared function","functions":["create_image_ref"]}]}]}}