CVE-2026-32711
March 20, 2026
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.
Affected Packages
pydicom (CONDA):
Affected version(s) >=0.9.9 <2.4.5Fix Suggestion:
Update to version 2.4.5pydicom (CONDA):
Affected version(s) =3.0.0 <3.0.1Fix Suggestion:
Update to version 3.0.1https://github.com/pydicom/pydicom.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.0.2Fix Suggestion:
Update to version v3.0.2https://github.com/pydicom/pydicom.git (GITHUB):
Affected version(s) >=v0.9.9 <v2.4.5Fix Suggestion:
Update to version v2.4.5pydicom (PYTHON):
Affected version(s) >=0.9.1 <2.4.5Fix Suggestion:
Update to version 2.4.5pydicom (PYTHON):
Affected version(s) >=3.0.0 <3.0.2Fix Suggestion:
Update to version 3.0.2Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.01