{"answers":{"affected":"6 open source packages ship an affected version, including docling and docling-slim. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105742 exists.","fix":"Upgrade docling to 2.132.0 or later.","what":"CVE-2026-105742 is a low-severity vulnerability in docling-project docling, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-105742 and fix it if it is affected.\n\nWhat it is: CVE-2026-105742 is a low-severity vulnerability in docling-project docling, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105742 exists.\n\nAffected packages and fixed versions:\n- docling (PyPI): affected from 2.95.0; fixed in 2.132.0\n- docling (PyPI): affected from 2.95.0; fixed in 2.132.0\n- docling (PyPI): affected from 2.95.0; fixed in 2.132.0\n- docling-slim (PyPI): affected from 2.95.0; fixed in 2.132.0\n- docling-slim (PyPI): affected from 2.95.0; fixed in 2.132.0\n- docling-slim (PyPI): affected from 2.95.0; fixed in 2.132.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-105742/ (Markdown: https://insights.sbomify.com/CVE-2026-105742/index.md)","id":"CVE-2026-105742","markdown":"https://insights.sbomify.com/CVE-2026-105742/index.md","name":"CVE-2026-105742","record":{"aliases":["GHSA-p3fw-7699-7926","PYSEC-2026-4189","PYSEC-2026-4212"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Python document processing library","requires_auth":"none","summary":"Attackers can steal configured HTTP headers, such as API keys, by crafting documents with remote image URLs when remote fetching is enabled.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"docling","vendor":"docling"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Docling: Configured HTTP headers sent to every remote image host named by a document","id":"CVE-2026-105742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"Docling has SSRF guard bypass in remote resource fetching (DNS rebinding / multi-record resolution; no IP validation in HTML render mode)","id":"CVE-2026-105743"},"packages":[{"ecosystem":"PyPI","fixed":["2.132.0"],"introduced":["2.95.0"],"last_affected":[],"package":"docling","purl":null,"source":"GHSA-p3fw-7699-7926"},{"ecosystem":"PyPI","fixed":["2.132.0"],"introduced":["2.95.0"],"last_affected":[],"package":"docling","purl":"pkg:pypi/docling","source":"GHSA-p3fw-7699-7926"},{"ecosystem":"PyPI","fixed":["2.132.0"],"introduced":["2.95.0"],"last_affected":[],"package":"docling","purl":"pkg:pypi/docling","source":"PYSEC-2026-4189"},{"ecosystem":"PyPI","fixed":["2.132.0"],"introduced":["2.95.0"],"last_affected":[],"package":"docling-slim","purl":null,"source":"GHSA-p3fw-7699-7926"},{"ecosystem":"PyPI","fixed":["2.132.0"],"introduced":["2.95.0"],"last_affected":[],"package":"docling-slim","purl":"pkg:pypi/docling-slim","source":"GHSA-p3fw-7699-7926"},{"ecosystem":"PyPI","fixed":["2.132.0"],"introduced":["2.95.0"],"last_affected":[],"package":"docling-slim","purl":"pkg:pypi/docling-slim","source":"PYSEC-2026-4212"}],"prev":{"headline":"Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write","id":"CVE-2026-105741"},"products":["docling","docling-slim"],"published":"2026-10-05","related":[{"cvss_score":8.2,"headline":"Docling: Unsafe Playwright-based HTML Rendering","id":"CVE-2026-44016","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":7.5,"headline":"Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine","id":"CVE-2026-105744","kev_date_added":null,"published":"2026-10-05"},{"cvss_score":7.5,"headline":"Docling: Unsafe Zip Extraction in EasyOCR Model Download","id":"CVE-2026-44017","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":7.5,"headline":"Docling: Unsafe XML Entity Expansion in USPTO Patent Backend","id":"CVE-2026-44020","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":7.1,"headline":"Docling: Unsafe URI and Path Handling in HTML Backend","id":"CVE-2026-47214","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":6.9,"headline":"Docling: Arbitrary local file read via draw:image xlink:href in the OpenDocument backend","id":"CVE-2026-105751","kev_date_added":null,"published":"2026-10-05"},{"cvss_score":6.7,"headline":"Docling: Plugin entry points are imported before the allow_external_plugins check","id":"CVE-2026-105745","kev_date_added":null,"published":"2026-10-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["docling-project"]},"summary":"Attackers can steal configured HTTP headers, such as API keys, by crafting documents with remote image URLs when remote fetching is enabled.","url":"https://insights.sbomify.com/CVE-2026-105742/"}