Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M

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

High 7.8

In plain English

A high-severity path traversal in pydicom from pydicom. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 77.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23py3-pydicom3.0.2-r0ALPINE-CVE-2026-32711
Alpine:v3.24py3-pydicom3.0.2-r0ALPINE-CVE-2026-32711
Debian:12pydicomno fix listedDEBIAN-CVE-2026-32711
Debian:13pydicomno fix listedDEBIAN-CVE-2026-32711
Debian:14pydicom3.0.2-1DEBIAN-CVE-2026-32711
PyPIpydicom3.0.2PYSEC-2026-2266
PyPIpydicom2.4.5GHSA-v856-2rf8-9f28
PyPIpydicom3.0.2GHSA-v856-2rf8-9f28
Ubuntu:22.04:LTSpydicomno fix listedUBUNTU-CVE-2026-32711
Ubuntu:24.04:LTSpydicomno fix listedUBUNTU-CVE-2026-32711
Ubuntu:25.10pydicomno fix listedUBUNTU-CVE-2026-32711
Ubuntu:26.04:LTSpydicomno fix listedUBUNTU-CVE-2026-32711
Ubuntu:26.10pydicomno fix listedUBUNTU-CVE-2026-32711

Affected products (as reported)

VendorProductVersions
pydicom pydicom >= 2.0.0-rc.1, < 3.0.2

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References