PT-2026-26507 · Pydicom · Pydicom
Jh4Nks
·
Published
2026-03-20
·
Updated
2026-03-23
·
CVE-2026-32711
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
pydicom versions 2.0.0-rc.1 through 3.0.1
Description
pydicom is susceptible to a path traversal issue when processing maliciously crafted DICOM files. Specifically, a crafted
DICOMDIR can set ReferencedFileID to a path outside the expected File-set root. The software only verifies the existence of the path but does not confirm that it remains within the designated root directory. Subsequent operations like copy(), write(), and remove()+write(use existing=True) then utilize this unchecked path for file I/O, potentially allowing arbitrary file read, copy, move, or deletion outside the intended File-set root. This is due to the lack of a containment check to ensure the resolved path is within the File-set root. A realistic scenario involves a user uploading a malicious DICOM File-set zip, which the server then loads and re-exports, potentially including server-local files referenced by the malicious DICOMDIR in the exported result.Recommendations
Update to pydicom version 3.0.2 or later.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pydicom