PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files
- CVE-2026-120859
- EUVD-2026-117605
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.
Text from the CVE.org record.
Recommendation
PyMoDAQ
- If you run a version before 4.4.13update to 4.4.13 or later
PyMoDAQ pymodaq_data
- If you run 5.3.xupdate to 5.3.10 or laterPatch update: breaking changes are unlikely
- If you run 5.2.xupdate to 5.2.14 or laterPatch update: breaking changes are unlikely
- If you run a version before 5.1.15update to 5.1.15 or later
PyMoDAQ pymodaq_gui
- If you run 5.3.xupdate to 5.3.10 or laterPatch update: breaking changes are unlikely
- If you run 5.2.xupdate to 5.2.14 or laterPatch update: breaking changes are unlikely
- If you run a version before 5.1.15update to 5.1.15 or later
PyMoDAQ pymodaq_utils
- If you run 5.3.xupdate to 5.3.10 or laterPatch update: breaking changes are unlikely
- If you run 5.2.xupdate to 5.2.14 or laterPatch update: breaking changes are unlikely
- If you run a version before 5.1.15update to 5.1.15 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
PyMoDAQ
Affected versions Fixed in before 4.4.13 4.4.13 PyMoDAQ pymodaq_data
Affected versions Fixed in from 5.3.0 to before 5.3.10 5.3.10 from 5.2.0 to before 5.2.14 5.2.14 before 5.1.15 5.1.15 PyMoDAQ pymodaq_gui
Affected versions Fixed in from 5.3.0 to before 5.3.10 5.3.10 from 5.2.0 to before 5.2.14 5.2.14 before 5.1.15 5.1.15 PyMoDAQ pymodaq_utils
Affected versions Fixed in from 5.3.0 to before 5.3.10 5.3.10 from 5.2.0 to before 5.2.14 5.2.14 before 5.1.15 5.1.15
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.