{"id":"CVE-2026-32711","published":"2026-03-20T01:26:15Z","modified":"2026-03-20T16:41:56Z","title":"pydicom: Path traversal in FileSet/DICOMDIR ReferencedFileID allows file access outside the File-set root","vendor":"pydicom","product":"pydicom","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00263,"percentile":0.11186,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydicom/pydicom/releases/tag/v3.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":2.24},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"pydicom","affectedVersions":[{"vendor":"pydicom","product":"pydicom","versions":[">= 2.0.0-rc.1, < 3.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-20T16:41:24.059218Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pydicom","vulnerableRanges":[">=3.0.0, <3.0.2","<2.4.5",">=2.0.0, <3.0.2"],"patched":["3.0.2","2.4.5"],"from":["GHSA-v856-2rf8-9f28","PYSEC-2026-2266"],"provenance":"source"}],"summary":{"text":"The pydicom package (versions 2.0.0-rc.1 through 3.0.1) contains a path traversal flaw in its FileSet/DICOMDIR handling, where a ReferencedFileID set to a path outside the File-set root is checked only for existence and not confined to the root. An attacker who can supply a maliciously crafted DICOMDIR can read, copy, and in some flows move or delete files outside the File-set root by abusing public FileSet operations such as copy(), write(), and remove()+write(use_existing=True), which requires local access and user interaction to process the crafted file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:05Z"},"euvd":{"id":"EUVD-2026-13433","exploited":false,"provenance":"source"}}