Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-120859

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PyMoDAQ PyMoDAQ

Default version status: unaffected

  • 0 to < 4.4.13affected
pkg:pypi/pymodaq

PyMoDAQ pymodaq_data

Default version status: unaffected

  • 0 to < 5.1.15affected
  • 5.2.0 to < 5.2.14affected
  • 5.3.0 to < 5.3.10affected
pkg:pypi/pymodaq-data

PyMoDAQ pymodaq_gui

Default version status: unaffected

  • 0 to < 5.1.15affected
  • 5.2.0 to < 5.2.14affected
  • 5.3.0 to < 5.3.10affected
pkg:pypi/pymodaq-gui

PyMoDAQ pymodaq_utils

Default version status: unaffected

  • 0 to < 5.1.15affected
  • 5.2.0 to < 5.2.14affected
  • 5.3.0 to < 5.3.10affected
pkg:pypi/pymodaq-utils

References