Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious DICOMDIR file with traversal path
-
DeliveryLoad DICOMDIR in pydicom FileSet
-
ExploitResolve path outside root without validation
-
ExecutionExecute file operations on arbitrary paths
-
ImpactRead/write/delete files outside FileSet root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local attacker creates malicious DICOMDIR file with ReferencedFileID pointing outside File-set root. Victim must open/process it with pydicom 2.0.0-rc.1 through 3.0.1 using FileSet operations (copy, write, remove+write). Enables arbitrary file read/write/delete on victim's system. |
| Impact | The real-world risk is moderately elevated but requires specific conditions for exploitation. The CVSS vector (AV:L/AC:L/PR:N/UI:R) indicates local attack vector with low complexity but requiring user interaction, meaning an attacker must convince a user to open a malicious DICOMDIR file. The high impact ratings (C:H/I:H/A:H) reflect that successful exploitation can lead to arbitrary file access and manipulation. However, the requirement for local access and user interaction significantly constrains the attack surface compared to remotely exploitable vulnerabilities. No KEV listing or EPSS score was provided, suggesting no known active exploitation in the wild. The vulnerability affects medical imaging workflows where DICOM files are commonly exchanged, making social engineering via malicious medical image sets a plausible attack vector. Organizations processing DICOM files from untrusted sources face the highest risk, while those operating in controlled environments with trusted file sources have lower exposure. |
| Exploit ScenarioDerived | An attacker crafts a malicious DICOMDIR file containing ReferencedFileID entries with path traversal sequences like '../../../../etc/passwd' or pointing to sensitive system files. When a healthcare professional or researcher opens this file using a vulnerable pydicom-based application (such as a medical imaging viewer or DICOM file management tool), the application processes the FileSet operations, inadvertently reading, copying, or deleting files outside the intended DICOM directory structure, potentially exposing patient data, credentials, or system configuration files. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
Path traversal in pydicom versions 2.0.0-rc.1 through 3.0.1 allows local attackers to read, copy, or delete arbitrary files outside the File-set root directory by crafting malicious ReferencedFileID values in DICOMDIR files. The vulnerability exists because pydicom fails to validate that resolved file paths remain within the intended File-set root before performing file I/O operations like copy(), write(), and remove(). No patch is currently available for affected versions.
Earlier versions of this analysis (1)
A path traversal vulnerability exists in pydicom, a Python package for working with DICOM medical imaging files, affecting versions 2.0.0-rc.1 through 3.0.1. An attacker can craft a malicious DICOMDIR file with a ReferencedFileID pointing outside the File-set root directory, which pydicom fails to properly validate, enabling arbitrary file read, copy, move, or delete operations on the host system. The vulnerability requires local access and user interaction (opening a malicious DICOMDIR file) but can lead to complete confidentiality, integrity, and availability compromise with a CVSS score of 7.8.
RemediationAI
Upgrade pydicom to version 3.0.2 or later, which contains the fix for this path traversal vulnerability as documented in the release at https://github.com/pydicom/pydicom/releases/tag/v3.0.2. The specific patch commit is available at https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82 for review. Until patching is possible, implement strict input validation on DICOMDIR files by only accepting files from trusted sources, scanning for path traversal patterns in ReferencedFileID fields before processing, and running pydicom operations in sandboxed environments with restricted file system access to limit potential damage from malicious files.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pydicom is a pure Python library used extensively in medical imaging systems for parsing and manipulating DICOM (Digital Imaging and Communications in Medicine) files. This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal. The issue occurs in the DICOMDIR file handling logic where pydicom resolves the ReferencedFileID path to verify existence but fails to validate that the resolved path remains within the intended File-set root directory boundary. When FileSet methods like copy(), write(), or remove() with write(use_existing=True) are subsequently invoked, they perform file I/O operations using the unvalidated path, allowing directory traversal attacks using sequences like '../' to access files outside the intended scope.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
A critical vulnerability in pydicom (versions 2.0.0-rc.1 through 3.0.1) allows attackers to read, modify, or delete arbitrary files on systems that process malicious DICOM medical imaging files. Organizations using pydicom in healthcare applications, medical imaging workflows, or research environments face immediate risk of data breach, system compromise, and potential patient privacy violations if exploited.
Implement strict file access controls limiting DICOM file processing to dedicated service accounts with minimal privileges; use application sandboxing or containerization to isolate pydicom processes; disable automatic DICOM file opening and require manual approval; monitor and log all file operations from pydicom processes; restrict network access for systems using pydicom to trusted internal networks only; consider disabling pydicom features or applications until a vendor patch is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Related Vulnerabilities in pydicom and pyLoad Path Traversal Vulnerabilities
View all 2Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-13433
GHSA-v856-2rf8-9f28
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB