Advisory record · GHSA-v856-2rf8-9f28

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

CVSS 7.8 HighEPSS 0.0032 · 25th percentile

Published by the GitHub Advisory Database at 20 Mar 2026, 15:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pydicomPyPI>=3.0.0, <3.0.2 || <2.4.53.0.2, 2.4.5
Identifiers
GHSA-v856-2rf8-9f28 · CVE-2026-32711 · PYSEC-2026-2266
Weakness (CWE)
CWE-22
Published
20 Mar 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

pydicom versions below 2.4.5 and from 3.0.0 up to (but not including) 3.0.2 are vulnerable to a path traversal in FileSet handling. A crafted DICOMDIR can set ReferencedFileID to a path outside the File-set root, and FileSet operations such as copy(), write() and remove() then read, copy, move or delete files outside that root. An attacker needs to supply a malicious DICOMDIR, for example by uploading a File-set to an application that loads it with FileSet. Upgrade to pydicom 2.4.5 or 3.0.2. The source gives no workaround besides upgrading.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.8 High 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0032, the 25th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.