CVE-2026-120859 PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-120859?
CVE-2026-120859 is a high-severity vulnerability in PyMoDAQ, published on 5 Nov 2026.
Official 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.
Which versions are affected by CVE-2026-120859?
10 open source packages ship an affected version, including pymodaq-data, pymodaq and pymodaq-gui.
| Package | Affected | Fixed in |
|---|---|---|
pymodaq-data PyPIpkg:pypi/pymodaq-data | All versions | 5.1.15 |
pymodaq-data PyPIpkg:pypi/pymodaq-data | From 5.2.0 | 5.2.14 |
pymodaq-data PyPIpkg:pypi/pymodaq-data | From 5.3.0 | 5.3.10 |
pymodaq PyPIpkg:pypi/pymodaq | All versions | 4.4.13 |
pymodaq-gui PyPIpkg:pypi/pymodaq-gui | All versions | 5.1.15 |
pymodaq-gui PyPIpkg:pypi/pymodaq-gui | From 5.2.0 | 5.2.14 |
4 more packages
pymodaq-gui PyPIpkg:pypi/pymodaq-gui | From 5.3.0 | 5.3.10 |
pymodaq-utils PyPIpkg:pypi/pymodaq-utils | All versions | 5.1.15 |
pymodaq-utils PyPIpkg:pypi/pymodaq-utils | From 5.2.0 | 5.2.14 |
pymodaq-utils PyPIpkg:pypi/pymodaq-utils | From 5.3.0 | 5.3.10 |
How do I fix CVE-2026-120859?
Upgrade pymodaq-data to a fixed version for your release line: 5.1.15, 5.2.14 or 5.3.10.
Is CVE-2026-120859 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-120859 exists.
Sources
Also known as GHSA-jw9g-5c9x-cf84.