Skip to main content

pynetdicom CVE-2026-56445

| EUVDEUVD-2026-39562 HIGH
Path Traversal (CWE-22)
2026-06-25 icscert GHSA-f3pc-ww42-cwqp
8.8
CVSS 4.0 · Vendor: icscert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach qrscp Storage SCP over network
  2. Delivery
    Open DICOM association, no auth
  3. Exploit
    Send C-STORE with traversal in instance UID
  4. Execution
    Unsanitized value joined via os.path.join()
  5. Persist
    Dataset written to arbitrary path
  6. Impact
    Overwrite 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.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pynetdicom Library 1.0.0 ≤3.0.4

Affected Packages

euvd pynetdicom_library no fix

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

Vendor (icscert) PRIMARY 8.8 HIGH
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
vuln.today AI 9.1 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (icscert).

CVSS VectorVendor: icscert

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche Python DICOM library, medical-imaging-specific deployment footprint
Threat Intel
1
1 sources
Social Media
3
Sightings
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain), CISA Vulnrichment

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy