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

High 8.5 Published Updated
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.

Weakness: CWE-95, CWE-502

Which versions are affected by CVE-2026-120859?

10 open source packages ship an affected version, including pymodaq-data, pymodaq and pymodaq-gui.

PackageAffectedFixed in
pymodaq-data PyPI
pkg:pypi/pymodaq-data
All versions5.1.15
pymodaq-data PyPI
pkg:pypi/pymodaq-data
From 5.2.05.2.14
pymodaq-data PyPI
pkg:pypi/pymodaq-data
From 5.3.05.3.10
pymodaq PyPI
pkg:pypi/pymodaq
All versions4.4.13
pymodaq-gui PyPI
pkg:pypi/pymodaq-gui
All versions5.1.15
pymodaq-gui PyPI
pkg:pypi/pymodaq-gui
From 5.2.05.2.14
4 more packages
pymodaq-gui PyPI
pkg:pypi/pymodaq-gui
From 5.3.05.3.10
pymodaq-utils PyPI
pkg:pypi/pymodaq-utils
All versions5.1.15
pymodaq-utils PyPI
pkg:pypi/pymodaq-utils
From 5.2.05.2.14
pymodaq-utils PyPI
pkg:pypi/pymodaq-utils
From 5.3.05.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.

Is CVE-2026-120859 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free