{"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-105748 exists.","fix":"Upgrade docling to 2.131.0 or later.","what":"CVE-2026-105748 is a medium-severity path traversal vulnerability in docling-project docling, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-105748 and fix it if it is affected.\n\nWhat it is: CVE-2026-105748 is a medium-severity path traversal vulnerability in docling-project docling, published on 5 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105748 exists.\n\nAffected packages and fixed versions:\n- docling (PyPI): affected from 2.16.0; fixed in 2.131.0\n- docling (PyPI): affected from 2.16.0; fixed in 2.131.0\n- docling (PyPI): affected from 2.16.0; fixed in 2.131.0\n- docling-slim (PyPI): affected from 2.92.0; fixed in 2.131.0\n- docling-slim (PyPI): affected from 2.92.0; fixed in 2.131.0\n- docling-slim (PyPI): affected from 2.92.0; fixed in 2.131.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-105748/ (Markdown: https://insights.sbomify.com/CVE-2026-105748/index.md)","id":"CVE-2026-105748","markdown":"https://insights.sbomify.com/CVE-2026-105748/index.md","name":"CVE-2026-105748","record":{"aliases":["GHSA-p944-4xh2-x776","PYSEC-2026-4208","PYSEC-2026-4213"],"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 read local image files by crafting JSON inputs with local paths, exposing sensitive data when embedded image mode is enabled.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"docling","vendor":"docling"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.16.0 until 2.131.0, the InputFormat.JSON_DOCLING backend in docling/backend/json/docling_json_backend.py validates serialized DoclingDocument input without rejecting picture image references that contain local paths or file URIs. When the document is enriched or exported with ImageRefMode.EMBEDDED, the DoclingDocument._with_embedded_pictures and ImageRef.pil_image methods can open those references and place readable image bytes in Markdown or HTML output. Disclosure is limited to files Pillow can decode as images, while differing decode behavior can also reveal whether a path exists. Direct untrusted loading through docling-core is outside this Docling fix. This issue is fixed in 2.131.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: Crafted DoclingDocument JSON embeds local image files into converted output","id":"CVE-2026-105748","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"Docling: Unbounded table rowspan/colspan in HTML, JATS, ODS and BoxNote backends causes CPU/memory exhaustion","id":"CVE-2026-105749"},"packages":[{"ecosystem":"PyPI","fixed":["2.131.0"],"introduced":["2.16.0"],"last_affected":[],"package":"docling","purl":null,"source":"GHSA-p944-4xh2-x776"},{"ecosystem":"PyPI","fixed":["2.131.0"],"introduced":["2.16.0"],"last_affected":[],"package":"docling","purl":"pkg:pypi/docling","source":"GHSA-p944-4xh2-x776"},{"ecosystem":"PyPI","fixed":["2.131.0"],"introduced":["2.16.0"],"last_affected":[],"package":"docling","purl":"pkg:pypi/docling","source":"PYSEC-2026-4208"},{"ecosystem":"PyPI","fixed":["2.131.0"],"introduced":["2.92.0"],"last_affected":[],"package":"docling-slim","purl":null,"source":"GHSA-p944-4xh2-x776"},{"ecosystem":"PyPI","fixed":["2.131.0"],"introduced":["2.92.0"],"last_affected":[],"package":"docling-slim","purl":"pkg:pypi/docling-slim","source":"GHSA-p944-4xh2-x776"},{"ecosystem":"PyPI","fixed":["2.131.0"],"introduced":["2.92.0"],"last_affected":[],"package":"docling-slim","purl":"pkg:pypi/docling-slim","source":"PYSEC-2026-4213"}],"prev":{"headline":"Docling: METS-GBS archive member limit enforced after full member enumeration (memory exhaustion during format detection)","id":"CVE-2026-105747"},"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 read local image files by crafting JSON inputs with local paths, exposing sensitive data when embedded image mode is enabled.","url":"https://insights.sbomify.com/CVE-2026-105748/"}