# CVE-2026-32711: pydicom: Path traversal in FileSet/DICOMDIR ReferencedFileID allows file access outside the File-set root

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T01:26:15.182Z
- Modified: 2026-07-13T07:26:29.581Z
- Also known as: GHSA-v856-2rf8-9f28, PYSEC-2026-2266
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pydicom pydicom: >= 2.0.0-rc.1, < 3.0.2; from 2.0.0 before 3.0.2
- pydicom (PyPI): from 3.0.0 before 3.0.2; before 2.4.5; from 2.0.0 before 3.0.2

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28> (exploit, evidence, vendor-advisory, web)
- <https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82> (fix, patch, web)
- <https://github.com/pydicom/pydicom/releases/tag/v3.0.2> (advisory, product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32711> (advisory)
- <https://github.com/pydicom/pydicom> (package)

## Sources

- CVE List: [CVE-2026-32711](https://www.cve.org/CVERecord?id=CVE-2026-32711), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-v856-2rf8-9f28](https://github.com/advisories/GHSA-v856-2rf8-9f28), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-32711](https://nvd.nist.gov/vuln/detail/CVE-2026-32711), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2266](https://osv.dev/vulnerability/PYSEC-2026-2266), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-32711 · Whole record: https://cve.day/CVE-2026-32711.json · Rebuilt by cve.day 2026-11-25T22:59:16.246Z
