Skip to content

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

HighCVSS 8.5 EPSS 0.32%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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