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
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.
| Product | Versions |
|---|---|
| PyMoDAQ PyMoDAQ | before 4.4.13 Affected |
| pymodaq_data PyMoDAQ | before 5.1.15 Affected5.2.0 to before 5.2.14 Affected5.3.0 to before 5.3.10 Affected |
| pymodaq_gui PyMoDAQ | before 5.1.15 Affected5.2.0 to before 5.2.14 Affected5.3.0 to before 5.3.10 Affected |
| pymodaq_utils PyMoDAQ | before 5.1.15 Affected5.2.0 to before 5.2.14 Affected5.3.0 to before 5.3.10 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
References
- GitHub Security Advisory (GHSA-jw9g-5c9x-cf84)Vendor Advisory
- https://github.com/PyMoDAQ/PyMoDAQ/commit/6c7fff74d82624c640bd79513f5b4675ea6d88daPatch
- https://github.com/PyMoDAQ/PyMoDAQ/commit/3bf9042a58f5d4870a2b45fe2c9423aafe6b9203Patch
- https://github.com/PyMoDAQ/PyMoDAQ/commit/ae0042513eb979c84da690825902658c625718d1Patch
- https://github.com/PyMoDAQ/PyMoDAQ/commit/041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374Patch
- PyMoDAQ 5.3.10 Release NotesRelease Notes
- PyMoDAQ 5.2.14 Release NotesRelease Notes
- PyMoDAQ 5.1.15 Release NotesRelease Notes
- PyMoDAQ 4.4.13 Release NotesRelease Notes
- https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478Technical Details
- VulnCheck Advisory: PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings FilesThird-Party Advisory
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.