CVE-2026-120859 PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pymodaq | < 4.4.13 | 4.4.13 | Fixed |
| pypi pymodaq-data | < 5.1.15; >= 5.2.0, < 5.2.14; >= 5.3.0, < 5.3.10 | 5.1.15, 5.2.14, 5.3.10 | Fixed |
| pypi pymodaq-gui | < 5.1.15; >= 5.2.0, < 5.2.14; >= 5.3.0, < 5.3.10 | 5.1.15, 5.2.14, 5.3.10 | Fixed |
| pypi pymodaq-utils | < 5.1.15; >= 5.2.0, < 5.2.14; >= 5.3.0, < 5.3.10 | 5.1.15, 5.2.14, 5.3.10 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pymodaq | < 4.4.13 | 4.4.13 |
| pypi pymodaq-data | < 5.1.15 | 5.1.15 |
| pypi pymodaq-data | >= 5.2.0, < 5.2.14 | 5.2.14 |
| pypi pymodaq-data | >= 5.3.0, < 5.3.10 | 5.3.10 |
| pypi pymodaq-gui | < 5.1.15 | 5.1.15 |
| pypi pymodaq-gui | >= 5.2.0, < 5.2.14 | 5.2.14 |
| pypi pymodaq-gui | >= 5.3.0, < 5.3.10 | 5.3.10 |
| pypi pymodaq-utils | < 5.1.15 | 5.1.15 |
| pypi pymodaq-utils | >= 5.2.0, < 5.2.14 | 5.2.14 |
| pypi pymodaq-utils | >= 5.3.0, < 5.3.10 | 5.3.10 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2567947 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com technical-description
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- PyMoDAQ 4.4.13 Release Notes release-notes
- PyMoDAQ 5.1.15 Release Notes release-notes
- PyMoDAQ 5.2.14 Release Notes release-notes
- PyMoDAQ 5.3.10 Release Notes release-notes
- GitHub Security Advisory (GHSA-jw9g-5c9x-cf84) exploit vendor-advisory
- VulnCheck Advisory: PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files third-party-advisory
- ENISA EUVD EUVD-2026-117605 third-party-advisory