# CVE-2026-120859: PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.53% (percentile 38, 2026-11-28)
- **CWE:** CWE-502, CWE-95
- **Published:** 2026-11-05T17:14:58.101Z
- **Modified:** 2026-11-12T21:09:09.470Z

## Who should check

- Anyone running PyMoDAQ \< 4.4.13
- Anyone running pymodaq\_data \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10
- Anyone running pymodaq\_gui \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10
- Anyone running pymodaq\_utils \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10

## Description

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.

## Affected and fixed versions

- PyMoDAQ: \< 4.4.13 (cvelist)
- pymodaq\_data: \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10 (cvelist)
- pymodaq\_gui: \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10 (cvelist)
- pymodaq\_utils: \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10 (cvelist)

## Mitigation

- Upgrade PyMoDAQ to 4.4.13 or later.
- Upgrade pymodaq\_data to 5.3.10 or later.
- Upgrade pymodaq\_gui to 5.3.10 or later.
- Upgrade pymodaq\_utils to 5.3.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-120859. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120859.md
Affected: PyMoDAQ < 4.4.13; pymodaq_data < 5.1.15; >= 5.2.0, < 5.2.14; >= 5.3.0, < 5.3.10; pymodaq_gui < 5.1.15; >= 5.2.0, < 5.2.14; >= 5.3.0, < 5.3.10; pymodaq_utils < 5.1.15; >= 5.2.0, < 5.2.14; >= 5.3.0, < 5.3.10
Fixed in: PyMoDAQ 4.4.13, pymodaq_data 5.1.15, pymodaq_data 5.2.14, pymodaq_data 5.3.10, pymodaq_gui 5.1.15, pymodaq_gui 5.2.14, pymodaq_gui 5.3.10, pymodaq_utils 5.1.15, pymodaq_utils 5.2.14, pymodaq_utils 5.3.10

Steps:
1. Search this machine and project for PyMoDAQ, pymodaq_data, pymodaq_gui, pymodaq_utils: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-120859 being exploited?

There is no confirmed exploitation: CVE-2026-120859 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-120859?

High: CVSS 8.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-120859?

PyMoDAQ \< 4.4.13; pymodaq\_data \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10; pymodaq\_gui \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10; pymodaq\_utils \< 5.1.15; \>= 5.2.0, \< 5.2.14; \>= 5.3.0, \< 5.3.10.

### Is there a fix for CVE-2026-120859?

Yes. Fixed in PyMoDAQ 4.4.13, pymodaq\_data 5.1.15, pymodaq\_data 5.2.14, pymodaq\_data 5.3.10, pymodaq\_gui 5.1.15, pymodaq\_gui 5.2.14, pymodaq\_gui 5.3.10, pymodaq\_utils 5.1.15, pymodaq\_utils 5.2.14, pymodaq\_utils 5.3.10. Upgrade PyMoDAQ to 4.4.13 or later. Upgrade pymodaq\_data to 5.3.10 or later. Upgrade pymodaq\_gui to 5.3.10 or later. Upgrade pymodaq\_utils to 5.3.10 or later.

### How do I check if I'm affected by CVE-2026-120859?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84>
- patch: <https://github.com/PyMoDAQ/PyMoDAQ/commit/6c7fff74d82624c640bd79513f5b4675ea6d88da>
- patch: <https://github.com/PyMoDAQ/PyMoDAQ/commit/3bf9042a58f5d4870a2b45fe2c9423aafe6b9203>
- patch: <https://github.com/PyMoDAQ/PyMoDAQ/commit/ae0042513eb979c84da690825902658c625718d1>
- patch: <https://github.com/PyMoDAQ/PyMoDAQ/commit/041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374>
- article: <https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478>
- other: <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.3.10>
- other: <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.2.14>
- other: <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.1.15>
- other: <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/4.4.13>
- other: <https://www.vulncheck.com/advisories/pymodaq-before-5.3.10-arbitrary-code-execution-via-crafted-hdf5-dock-layout-and-xml-settings-files>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-120859>

HTML: <https://flawdb.com/CVE-2026-120859> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-120859>
