Skip to main content

PyMoDAQ EUVDEUVD-2026-117605

| CVE-2026-120859 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-05 VulnCheck
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious .h5/.dock/XML file
  2. Delivery
    Deliver via email or shared drive
  3. Exploit
    Victim opens/browses file in PyMoDAQ
  4. Execution
    pickle.loads or eval deserializes payload
  5. Impact
    Execute arbitrary code as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim to open or browse an attacker-crafted file in PyMoDAQ; no network access to a running instance and no authentication are needed. The specific trigger paths are: (1) an .h5/HDF5 file whose string node (CLASS=VLARRAY, subdtype=string) holds a pickled object, reached when StringARRAY.array_to_string()/read() calls pickle.loads - notably every saved dataset contains a clickable Logger string node, so merely browsing a crafted .h5 in the h5browser is sufficient; (2) HDF5 attributes containing Python expressions passed to JsonConverter.json2object()'s eval; (3) a .dock dock-layout file unpickled by load_layout_state() via the Dashboard 'Load layout' action; (4) XML preset/settings files whose values elt_to_dict()/set_txt_from_elt() pass to eval; and additionally the Data Mixer extension's formula editor. The principal limiting factor is the required user interaction (opening/browsing an untrusted file) and the local vector - there is no remote-unauthenticated path. The vendor workaround is explicitly to not open .h5, .dock, preset, or settings files from untrusted sources; updating (with the pymodaq_migrate command to convert old files) is the complete fix.

Impact

This is a genuine high-impact code-execution flaw whose real-world urgency is tempered by its delivery requirements rather than its technical ceiling. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, 8.5) describes full compromise of confidentiality, integrity and availability of the vulnerable system with no privileges or authentication, but a LOCAL/file-based attack vector and passive user interaction (UI:P) - the victim must open or browse a crafted file. There is no CISA KEV listing and no EPSS score in the supplied data, so there is no signal of active or widespread exploitation; this is consistent with a newly disclosed issue (reported by VulnCheck, credited to Dilanka Kaushal Hewage) rather than an in-the-wild campaign. The GHSA advisory includes a Proof-of-Concept section describing exactly how browsing a crafted .h5 reaches pickle.loads, but this is a mechanism description, not verified standalone exploit code. The vuln.today decision label is 'this_week', which is a prioritized-but-not-emergency posture and matches the picture: the bug is trivially reliable once a file is opened (CWE-502 deserialization plus CWE-95 eval injection across multiple code paths), yet exploitation depends on social engineering and the affected product is niche scientific instrument-control software, limiting mass exploitation. Net assessment: treat as a real priority for patching within the week, especially on instrument-control machines that open externally sourced data files, but it is not an internet-facing wormable emergency.

Exploit ScenarioDerived

An attacker crafts a malicious scientific data file - for example an .h5 dataset embedding a pickled object in a string node, a .dock layout file, or an XML preset/settings file - and shares it with a target via email, a shared drive, or a data repository. When the victim opens or browses the file in PyMoDAQ (e.g. double-clicking a string/Logger node in the h5browser, or using the Dashboard 'Load layout' action), pickle.loads or eval executes the embedded payload, running arbitrary Python code with the victim's privileges. A PoC reference exists in the GHSA advisory describing the h5browser trigger path, though it is not verified as working exploit code; the local vector and required user interaction mean a user must be induced to open the file.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 05, 2026

Arbitrary Python code execution in PyMoDAQ (and its pymodaq_data, pymodaq_gui and pymodaq_utils packages) is reachable whenever a user opens or browses an attacker-crafted data or configuration file, because the application rebuilds Python objects from file content with pickle.loads and eval. Four distinct sinks are involved: pickled objects in HDF5 string nodes read via StringARRAY.array_to_string(), Python expressions in HDF5 attributes evaluated by JsonConverter.json2object(), pickled .dock layout files loaded through the Dashboard 'Load layout' action, and Python expressions in XML preset/settings files evaluated by elt_to_dict()/set_txt_from_elt(), plus the Data Mixer formula editor. The attack is local-vector with no authentication needed (CVSS:3.1/AV:L/AC:L/PR:N/UI:R, CVSS 8.5) and hinges entirely on user interaction, so practical urgency comes from labs routinely exchanging .h5 datasets rather than from any remotely reachable path; exploitation is not confirmed in CISA KEV, although the vendor advisory publishes a step-by-step proof-of-concept describing the trigger path (it is not verified as working exploit code). Vendor patches are available and the vendor states that updating, together with the pymodaq_migrate conversion of legacy files, is the complete fix.

RemediationAI

Vendor-released patch: upgrade to 5.3.10 (5.3.x branch), 5.2.14 (5.2.x branch), 5.1.15 (5.1.x branch) or 4.4.13 (4.4.x branch), covering pymodaq, pymodaq_data, pymodaq_gui and pymodaq_utils; confirm the exact per-package floor against the GHSA before pinning, since the advisory metadata lists slightly different 5.1.x values (5.1.10/5.1.12/5.1.13/5.1.14) than the release tags. After upgrading, run the pymodaq_migrate command to convert legacy pickled .h5 strings and .dock files to the new UTF-8 and JSON formats; the migration leaves the original files untouched, so old pickled content remains dangerous until it is converted and should not be reopened in an unpatched install. The vendor states that updating is the complete fix and gives exactly one workaround: do not open .h5, .dock, preset or settings files from untrusted sources - a restriction that is operationally costly for labs that routinely exchange datasets and therefore is not a substitute for patching. Patch details are in the advisory at https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84 and commits 6c7fff74d82624c640bd79513f5b4675ea6d88da, 3bf9042a58f5d4870a2b45fe2c9423aafe6b9203, ae0042513eb979c84da690825902658c625718d1 and 041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374. Given the 'this_week' priority signal, scheduling the upgrade and file migration within the current patch cycle is appropriate.

Affected VersionsENISA

pymodaq_gui 5.3.0 <5.3.10
pymodaq_data 5.2.0 <5.2.14
pymodaq_data 5.3.0 <5.3.10
pymodaq_utils 5.2.0 <5.2.14
PyMoDAQ 0 <4.4.13
pymodaq_utils 0 <5.1.15
pymodaq_data 0 <5.1.15
pymodaq_gui 0 <5.1.15
pymodaq_gui 5.2.0 <5.2.14
pymodaq_utils 5.3.0 <5.3.10

Affected Packages

euvd pymodaq fix: 4.4.13
euvd pymodaq_data fix: 5.1.15, 5.2.14, 5.3.10
euvd pymodaq_gui fix: 5.1.15, 5.2.14, 5.3.10
euvd pymodaq_utils fix: 5.1.15, 5.2.14, 5.3.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause class is CWE-502 (deserialization of untrusted data), with CWE-95 (eval injection) for the expression-evaluation sinks. PyMoDAQ historically persisted non-table data by pickling it: string values written into HDF5 variable-length arrays were stored as pickle bytes, and dock layouts were pickled to .dock files. On the read path, StringARRAY.array_to_string() passed the raw array to pickle.loads(); a node is treated as a StringARRAY when its HDF5 attributes are CLASS=VLARRAY and subdtype=string, and the h5browser reaches it with a double-click (show_h5_data -> node.read()), so any saved dataset's clickable Logger string node is a viable carrier. In parallel, JsonConverter.json2object() ran eval() over HDF5 attribute content, pymodaq_gui's layout.load_layout_state() unpickled .dock files, pymodaq_gui/parameter/ioxml.py and pymodaq_ptypes/date.py ran eval() over XML settings/preset values, monaco.py kept a pickled file cache, and the Data Mixer equation_model.py evaluated user-supplied formulas. Both pickle and eval execute whatever the serialized data or expression describes, and files PyMoDAQ writes itself can be replaced or edited before being opened. The upstream fix (commits 6c7fff74, 3bf9042a, ae004251, 041e8a22) moves strings to plain UTF-8 and .dock files to JSON, detects legacy pickles by the 0x80 protocol byte (which cannot begin valid UTF-8), and routes them through pymodaq_utils.safe_pickle, a restricted unpickler whose find_class allowlist covers only collections.OrderedDict and builtins set/frozenset/complex/bytearray and whose persistent_load refuses external references, raising UnsafePickleError otherwise; eval is replaced by a restricted literal/constructor parser and an AST-based evaluator for Data Mixer formulas.

Know when Pymodaq 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 (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

File-based trigger requiring the victim to open/browse a crafted file gives AV:L and UI:R; no auth needed (PR:N); arbitrary code execution yields full C/I/A:H with unchanged scope.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

PyMoDAQ before 4.4.13, and pymodaq_data, pymodaq_gui, and pymodaq_utils before 5.1.15, 5.2.x before 5.2.14, and 5.3.x before 5.3.10, contain deserialization of untrusted data and eval injection vulnerabilities that allow attackers to execute arbitrary code by supplying crafted files that a user opens. Attackers can store pickled objects in HDF5 string nodes that StringARRAY.array_to_string() passes to pickle.loads() when the node is browsed or read, place Python expressions in HDF5 attributes that JsonConverter.json2object() evaluates, supply a .dock file that load_layout_state() unpickles from the Dashboard Load layout action, or embed Python expressions in XML settings files that elt_to_dict() and set_txt_from_elt() evaluate.

Technical POC Analysis

Bug class: CWE-502 (deserialization of untrusted data), with CWE-95 for the eval sinks.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-120859 enables arbitrary code execution in PyMoDAQ when users open malicious data or configuration files. This poses a significant risk to laboratory environments where .h5 datasets and layout files are routinely exchanged, potentially leading to unauthorized system access and data compromise. Leadership should prioritize remediation to protect research integrity and sensitive information.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche Python scientific instrument-control framework, limited to research labs
Data Quality
5 sources
Confidence: Medium

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.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

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