{"answers":{"affected":"5 open source packages ship an affected version, including pydicom. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32711 exists.","fix":"Upgrade pydicom to a fixed version for your release line: 2.4.5 or 3.0.2.","what":"CVE-2026-32711 is a high-severity path traversal vulnerability in pydicom, published on 20 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-32711 and fix it if it is affected.\n\nWhat it is: CVE-2026-32711 is a high-severity path traversal vulnerability in pydicom, published on 20 Mar 2026. It can only be exploited from the same machine or local network, 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-32711 exists.\n\nAffected packages and fixed versions:\n- pydicom (PyPI): affected all versions; fixed in 2.4.5\n- pydicom (PyPI): affected all versions; fixed in 2.4.5\n- pydicom (PyPI): affected from 2.0.0; fixed in 3.0.2\n- pydicom (PyPI): affected from 3.0.0; fixed in 3.0.2\n- pydicom (PyPI): affected from 3.0.0; fixed in 3.0.2\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-32711/ (Markdown: https://insights.sbomify.com/CVE-2026-32711/index.md)","id":"CVE-2026-32711","markdown":"https://insights.sbomify.com/CVE-2026-32711/index.md","name":"CVE-2026-32711","record":{"aliases":["DEBIAN-CVE-2026-32711","GHSA-v856-2rf8-9f28","PYSEC-2026-2266","UBUNTU-CVE-2026-32711","openSUSE-SU-2026:10412-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python DICOM library","requires_auth":"none","summary":"Attackers can read, copy, or delete arbitrary files outside the intended directory by crafting malicious DICOMDIR paths in pydicom.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pydicom","vendor":"pydicom"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"pydicom is a pure Python package for working with DICOM files. Versions 2.0.0-rc.1 through 3.0.1 are vulnerable to Path Traversal through a maliciously crafted DICOMDIR ReferencedFileID when it is set to a path outside the File-set root. pydicom resolves the path only to confirm that it exists, but does not verify that the resolved path remains under the File-set root. Subsequent public FileSet operations such as copy(), write(), and remove()+write(use_existing=True) use that unchecked path in file I/O operations. This allows arbitrary file read/copy and, in some flows, move/delete outside the File-set root. This issue has been fixed in version 3.0.2.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"pydicom: Path traversal in FileSet/DICOMDIR ReferencedFileID allows file access outside the File-set root","id":"CVE-2026-32711","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":6,"n_references":3,"next":{"headline":"Open Source Point of Sale has Stored XSS in Customer Name (Sales)","id":"CVE-2026-32712"},"packages":[{"ecosystem":"PyPI","fixed":["2.4.5"],"introduced":["0"],"last_affected":[],"package":"pydicom","purl":null,"source":"GHSA-v856-2rf8-9f28"},{"ecosystem":"PyPI","fixed":["2.4.5"],"introduced":["0"],"last_affected":[],"package":"pydicom","purl":"pkg:pypi/pydicom","source":"GHSA-v856-2rf8-9f28"},{"ecosystem":"PyPI","fixed":["3.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"pydicom","purl":"pkg:pypi/pydicom","source":"PYSEC-2026-2266"},{"ecosystem":"PyPI","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"pydicom","purl":null,"source":"GHSA-v856-2rf8-9f28"},{"ecosystem":"PyPI","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"pydicom","purl":"pkg:pypi/pydicom","source":"GHSA-v856-2rf8-9f28"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.0.2-1.1"],"introduced":["0"],"last_affected":[],"package":"python-pydicom","purl":"pkg:rpm/opensuse/python-pydicom\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10412-1"}],"prev":{"headline":"Heap-based Buffer Overflow in MariaDB","id":"CVE-2026-32710"},"products":["pydicom"],"published":"2026-03-20","related":[],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-03-20","vendors":["pydicom"]},"summary":"Attackers can read, copy, or delete arbitrary files outside the intended directory by crafting malicious DICOMDIR paths in pydicom.","url":"https://insights.sbomify.com/CVE-2026-32711/"}