Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach qrscp Storage SCP over network
-
DeliveryOpen DICOM association, no auth
-
ExploitSend C-STORE with traversal in instance UID
-
ExecutionUnsanitized value joined via os.path.join()
-
PersistDataset written to arbitrary path
-
ImpactOverwrite sensitive file for RCE/DoS
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 | Exploitation requires that the target is running pynetdicom's qrscp application as a listening DICOM Storage SCP and that the attacker can establish a DICOM association to it (default DICOM port, typically 104 or a configured alternate) and issue a C-STORE operation. The concrete prerequisite is attacker control over the dataset attribute (the SOP Instance identifier) that qrscp feeds into os.path.join(); supplying traversal sequences or an absolute path in that field is the trigger. Per the CVSS vector (PR:N/UI:N/AC:L/AT:N) no authentication, no user interaction, and no special non-default attack requirement are needed against an exposed qrscp instance. Limiting factors that reduce real-world exposure: qrscp must actually be deployed and reachable (many sites use pynetdicom only as an SCU client or behind AE-title/IP allow-listing on isolated imaging networks), and the write occurs with the privileges of the qrscp process, so OS file permissions constrain which paths are actually writable. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, unauthenticated, low-complexity exploitation with no user interaction - a strong signal that any network-reachable qrscp instance is at material risk. Impact maps to VI:H and VA:H (high integrity and availability impact) with VC:N, consistent with an arbitrary file write that can corrupt or overwrite files and potentially achieve code execution or denial of service, but does not directly disclose data. There is no EPSS score, no CISA KEV listing, and no published proof-of-concept in the provided data, so exploitation is currently theoretical rather than observed; the absence of these signals lowers the immediacy but not the underlying severity. One thing to verify: real-world reachability depends on whether the qrscp SCP is exposed to untrusted networks and whether the calling AE is access-controlled, since many DICOM deployments sit on segmented imaging VLANs. On balance this is a genuine high priority for organizations running pynetdicom/qrscp as a listening service, but a lower operational priority where it is only used as a client (SCU) or on isolated networks. |
| Exploit ScenarioDerived | An attacker who can reach the qrscp Storage SCP over the network opens a DICOM association and sends a crafted C-STORE request whose instance identifier embeds path-traversal sequences (e.g. '../../../') or an absolute path. The handler joins this value into the destination path and writes the dataset contents outside the storage directory - for example overwriting a configuration file, a cron/startup script, or a web root to escalate toward code execution. No authentication or user interaction is required (PR:N/UI:N), and no public PoC is currently known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Arbitrary file write in the pynetdicom library's qrscp storage SCP application allows a remote, unauthenticated attacker to plant files at attacker-chosen paths on the receiving host. The qrscp C-STORE handler trusts a value taken from an incoming DICOM dataset and passes it into os.path.join() without sanitization, so a crafted instance identifier containing path-traversal sequences escapes the intended storage directory. No public exploit has been identified at time of analysis, but the CVSS 4.0 base score of 8.8 and unauthenticated network reachability make this a high-priority issue for any exposed DICOM endpoint.
RemediationAI
Upstream fix status is not independently confirmed from the provided data - no exact patched version is given in the references - so monitor the pydicom/pynetdicom repository (https://github.com/pydicom/pynetdicom) and the CISA advisory ICSMA-26-176-01 (https://www.cisa.gov/news-events/ics-medical-advisories/icsma-26-176-01) for the official fixed release and upgrade to it once published. As compensating controls until then: restrict which Application Entity titles and source IPs may connect to the qrscp SCP via network ACLs and DICOM AE allow-listing so only trusted modalities can issue C-STORE (trade-off: must maintain the modality inventory); place the storage service on a segmented imaging VLAN with no direct internet exposure; and if you maintain the deployment, run qrscp under a low-privilege account with a dedicated, restricted storage directory and a restrictive umask so an escaped write cannot reach sensitive system paths (trade-off: does not stop the traversal, only limits blast radius). If feasible, validate or hash incoming SOP Instance UIDs before using them as filenames rather than passing raw dataset values to os.path.join().
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pynetdicom is a pure-Python implementation of the DICOM upper-layer networking protocol, widely used to build DICOM Storage SCP/SCU services and PACS-adjacent tooling in medical imaging. Its bundled qrscp Query/Retrieve application acts as a Storage SCP: when it receives a C-STORE request, it persists the incoming SOP Instance to disk using a filename derived from the dataset. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): a specific attacker-controlled instance attribute (e.g. the SOP Instance UID) is concatenated into a destination path via os.path.join() with no validation. Because os.path.join() resolves an absolute or '../'-laden second argument relative to (or in place of) the base directory, the attacker controls where the file lands. The affected component per CPE is cpe:2.3:a:pydicom:pynetdicom_library, reported by ICS-CERT under advisory ICSMA-26-176-01, reflecting its use in medical/OT environments.
Know when Pynetdicom Library 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Remote unauthenticated C-STORE to a listening SCP gives AV:N/AC:L/PR:N/UI:N; arbitrary file write yields I:H and A:H with no direct disclosure (C:N).
Primary rating from Vendor (icscert).
CVSS VectorVendor: icscert
DescriptionCVE.org
The qrscp application's C-STORE handler uses a specific instance from attacker-supplied DICOM datasets directly in os.path.join() without sanitization, allowing file writes to arbitrary paths.
Executive ViewAI
The pynetdicom library's qrscp storage application contains a critical arbitrary file-write vulnerability that allows unauthenticated remote attackers to write files to any path on the host system. Organizations running exposed DICOM endpoints are at immediate risk of data compromise and system integrity violations, with no vendor patch currently available-requiring urgent network-layer mitigation.
No vendor-released patch identified at time of analysis. Implement network segmentation restricting DICOM C-STORE inbound traffic to whitelisted peer IPs only; enable file integrity monitoring on storage directories; temporarily disable qrscp service if operations permit; monitor CVE and pynetdicom advisory channels for patch release.
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.
EUVD-2026-39562
GHSA-f3pc-ww42-cwqp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB