PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files

State
Published
Severity
8.5 High
Published
Nov 5, 2026
Updated
Nov 9, 2026
Reserved
Nov 3, 2026

Read the record on cve.org

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.

ProductVersions
PyMoDAQ PyMoDAQbefore 4.4.13 Affected
pymodaq_data PyMoDAQbefore 5.1.15 Affected5.2.0 to before 5.2.14 Affected5.3.0 to before 5.3.10 Affected
pymodaq_gui PyMoDAQbefore 5.1.15 Affected5.2.0 to before 5.2.14 Affected5.3.0 to before 5.3.10 Affected
pymodaq_utils PyMoDAQbefore 5.1.15 Affected5.2.0 to before 5.2.14 Affected5.3.0 to before 5.3.10 Affected

Weaknesses

  • CWE-502 Deserialization of Untrusted Data
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.