CVE-2026-32711pydicom: Path traversal in FileSet/DICOMDIR ReferencedFileID allows file access outside…
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Ubuntu 26.04 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Ubuntu 25.10 | pydicom | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-32711 | |
| Ubuntu 24.04 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Ubuntu 22.04 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Ubuntu 20.04 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Ubuntu 18.04 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Ubuntu 16.04 | pydicom | Fix pending | UBUNTU-CVE-2026-32711 | |
| Debian 14 | pydicom | Fixed | 3.0.2-1 | DEBIAN-CVE-2026-32711 |
| Debian 13 | pydicom | Fix pending | DEBIAN-CVE-2026-32711 | |
| Debian 12 | pydicom | Fix pending | DEBIAN-CVE-2026-32711 | |
| Alpine Linux 3.24 | py3-pydicom | Fixed | 3.0.2-r0 | ALPINE-CVE-2026-32711 |
| Alpine Linux 3.23 | py3-pydicom | Fixed | 3.0.2-r0 | ALPINE-CVE-2026-32711 |
| PyPI library | pydicom | Fixed | 2.4.5 | PYSEC-2026-2266 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pydicom: affected: >= 2.0.0-rc.1, < 3.0.2
References
- https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28
- https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82
- https://github.com/pydicom/pydicom/releases/tag/v3.0.2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.