Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pydicom
  4. ›
  5. CVE-2026-32711

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

March 20, 2026

A crafted DICOMDIR can set ReferencedFileID 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.

References

  • github.com/advisories/GHSA-v856-2rf8-9f28
  • github.com/pydicom/pydicom
  • github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82
  • github.com/pydicom/pydicom/releases/tag/v3.0.2
  • github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28
  • nvd.nist.gov/vuln/detail/CVE-2026-32711

Code Behaviors & Features

Detect and mitigate CVE-2026-32711 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.5, all versions starting from 3.0.0 before 3.0.2

Fixed versions

  • 3.0.2
  • 2.4.5

Solution

Upgrade to versions 2.4.5, 3.0.2 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/pydicom/CVE-2026-32711.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:19:11 +0000.