{"id":"CVE-2026-32711","state":"PUBLISHED","title":"pydicom: Path traversal in FileSet/DICOMDIR ReferencedFileID allows file access outside the File-set root","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.","publishedAt":"2026-03-20T01:26:15.182Z","updatedAt":"2026-03-20T16:41:56.917Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["pydicom pydicom"],"affected":[{"vendor":"pydicom","product":"pydicom","versions":[{"version":">= 2.0.0-rc.1, < 3.0.2","status":"affected"}]}],"references":["https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28","https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82","https://github.com/pydicom/pydicom/releases/tag/v3.0.2"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32711.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32711","state":"PUBLISHED","datePublished":"2026-03-20T01:26:15.182Z","dateUpdated":"2026-03-20T16:41:56.917Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-13T14:33:42.824Z"},"containers":{"cna":{"title":"pydicom: Path traversal in FileSet/DICOMDIR ReferencedFileID allows file access outside the File-set root","descriptions":[{"lang":"en","value":"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":[{"vendor":"pydicom","product":"pydicom","versions":[{"version":">= 2.0.0-rc.1, < 3.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28","name":"https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82","name":"https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydicom/pydicom/releases/tag/v3.0.2","name":"https://github.com/pydicom/pydicom/releases/tag/v3.0.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-20T01:26:15.182Z"},"source":{"advisory":"GHSA-v856-2rf8-9f28","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-20T16:41:24.059218Z","id":"CVE-2026-32711","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-20T16:41:56.917Z"}}]}}}