CVE-2026-120859
PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| PyMoDAQ PyMoDAQ pymodaq
pypi |
≥ 0; < 4.4.13 (affected, semver)
Other versions: unaffected |
CNA: VulnCheck |
| pymodaq_data PyMoDAQ pymodaq-data
pypi |
≥ 0; < 5.1.15 (affected, semver) ≥ 5.2.0; < 5.2.14 (affected, semver) ≥ 5.3.0; < 5.3.10 (affected, semver) Other versions: unaffected |
CNA: VulnCheck |
| pymodaq_gui PyMoDAQ pymodaq-gui
pypi |
≥ 0; < 5.1.15 (affected, semver) ≥ 5.2.0; < 5.2.14 (affected, semver) ≥ 5.3.0; < 5.3.10 (affected, semver) Other versions: unaffected |
CNA: VulnCheck |
| pymodaq_utils PyMoDAQ pymodaq-utils
pypi |
≥ 0; < 5.1.15 (affected, semver) ≥ 5.2.0; < 5.2.14 (affected, semver) ≥ 5.3.0; < 5.3.10 (affected, semver) Other versions: unaffected |
CNA: VulnCheck |
pymodaq_datapymodaq_data
pip |
<5.3.10;<5.2.14;<5.1.10 (affected, GitHub advisory range) | GitHub GHSA-jw9g-5c9x-cf84 |
pymodaqpymodaq
pip |
<5.3.10;<5.2.14;<5.1.14;<5.0.19 (affected, GitHub advisory range) | GitHub GHSA-jw9g-5c9x-cf84 |
pymodaq_guipymodaq_gui
pip |
<5.3.10;<5.2.14;<5.1.13;<5.0.36 (affected, GitHub advisory range) | GitHub GHSA-jw9g-5c9x-cf84 |
pymodaq_utilspymodaq_utils
pip |
<5.3.10;<5.2.14;<5.1.12 (affected, GitHub advisory range) | GitHub GHSA-jw9g-5c9x-cf84 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 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 | CNA: VulnCheck |
| 3.1 / 7.8 high |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA: VulnCheck |
| 4.0 / 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
| 3.1 / 7.8 high |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
- https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84
exploit · ADP: CISA-ADP
References
- https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84CNA: VulnCheck · vendor-advisory
- https://github.com/PyMoDAQ/PyMoDAQ/commit/6c7fff74d82624c640bd79513f5b4675ea6d88daCNA: VulnCheck · patch
- https://github.com/PyMoDAQ/PyMoDAQ/commit/3bf9042a58f5d4870a2b45fe2c9423aafe6b9203CNA: VulnCheck · patch
- https://github.com/PyMoDAQ/PyMoDAQ/commit/ae0042513eb979c84da690825902658c625718d1CNA: VulnCheck · patch
- https://github.com/PyMoDAQ/PyMoDAQ/commit/041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374CNA: VulnCheck · patch
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.3.10CNA: VulnCheck · release-notes
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.2.14CNA: VulnCheck · release-notes
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.1.15CNA: VulnCheck · release-notes
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/4.4.13CNA: VulnCheck · release-notes
- https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478CNA: VulnCheck · technical-description
- https://www.vulncheck.com/advisories/pymodaq-before-5.3.10-arbitrary-code-execution-via-crafted-hdf5-dock-layout-and-xml-settings-filesCNA: VulnCheck · third-party-advisory
- https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84ADP: CISA-ADP · exploit
- https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/commit/041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/commit/3bf9042a58f5d4870a2b45fe2c9423aafe6b9203[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/commit/6c7fff74d82624c640bd79513f5b4675ea6d88da[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/commit/ae0042513eb979c84da690825902658c625718d1[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/4.4.13[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.1.15[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.2.14[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.3.10[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84[email protected]
- https://www.vulncheck.com/advisories/pymodaq-before-5.3.10-arbitrary-code-execution-via-crafted-hdf5-dock-layout-and-xml-settings-files[email protected]
- https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84134c704f-9b21-4f2e-91b3-4a467353bcc0
- https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84GitHub Security Advisories · advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.