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

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-05T17:14:58.101Z
- Modified: 2026-11-12T21:09:09.470Z
- Weaknesses: CWE-95, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- PyMoDAQ PyMoDAQ: before 4.4.13
- PyMoDAQ pymodaq_data: before 5.1.15; from 5.2.0 before 5.2.14; from 5.3.0 before 5.3.10
- PyMoDAQ pymodaq_gui: before 5.1.15; from 5.2.0 before 5.2.14; from 5.3.0 before 5.3.10
- PyMoDAQ pymodaq_utils: before 5.1.15; from 5.2.0 before 5.2.14; from 5.3.0 before 5.3.10

## Every score

- VulnCheck: CVSS: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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84> (exploit, vendor-advisory)
- <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> (patch)
- <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.3.10> (release-notes)
- <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.2.14> (release-notes)
- <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.1.15> (release-notes)
- <https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/4.4.13> (release-notes)
- <https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478> (technical-description)
- <https://www.vulncheck.com/advisories/pymodaq-before-5.3.10-arbitrary-code-execution-via-crafted-hdf5-dock-layout-and-xml-settings-files> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-120859](https://www.cve.org/CVERecord?id=CVE-2026-120859), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-120859](https://nvd.nist.gov/vuln/detail/CVE-2026-120859), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-120859 · Whole record: https://cve.day/CVE-2026-120859.json · Rebuilt by cve.day 2026-11-25T22:59:49.143Z
