{"id":"CVE-2026-120859","summary":"PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files","details":"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.","aliases":["GHSA-jw9g-5c9x-cf84"],"modified":"2026-11-05T21:32:59.880483094Z","published":"2026-11-05T17:14:58.101Z","database_specific":{"cwe_ids":["CWE-502","CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120859.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120859.json"},{"type":"PACKAGE","url":"https://github.com/PyMoDAQ/PyMoDAQ"},{"type":"ARTICLE","url":"https://github.com/PyMoDAQ/PyMoDAQ/blob/5.3.9/packages/pymodaq_data/src/pymodaq_data/h5modules/backends.py#L477-L478"},{"type":"FIX","url":"https://github.com/PyMoDAQ/PyMoDAQ/commit/041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374"},{"type":"FIX","url":"https://github.com/PyMoDAQ/PyMoDAQ/commit/3bf9042a58f5d4870a2b45fe2c9423aafe6b9203"},{"type":"FIX","url":"https://github.com/PyMoDAQ/PyMoDAQ/commit/6c7fff74d82624c640bd79513f5b4675ea6d88da"},{"type":"FIX","url":"https://github.com/PyMoDAQ/PyMoDAQ/commit/ae0042513eb979c84da690825902658c625718d1"},{"type":"ADVISORY","url":"https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/4.4.13"},{"type":"ADVISORY","url":"https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.1.15"},{"type":"ADVISORY","url":"https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.2.14"},{"type":"ADVISORY","url":"https://github.com/PyMoDAQ/PyMoDAQ/releases/tag/5.3.10"},{"type":"ADVISORY","url":"https://github.com/PyMoDAQ/PyMoDAQ/security/advisories/GHSA-jw9g-5c9x-cf84"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120859"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pymodaq-before-5.3.10-arbitrary-code-execution-via-crafted-hdf5-dock-layout-and-xml-settings-files"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pymodaq/pymodaq","events":[{"introduced":"0"},{"fixed":"24e220c2b4bb1fa2b40bdeec37a062ae75c3e9ac"},{"fixed":"57811413dfe6c1a6befe14296799077ee7942a1a"},{"introduced":"6dac73eca473368e043a26e85e0061824298aa26"},{"fixed":"308bffe5265e4b2a6f446e890063cf60f320081a"},{"introduced":"5f22406d19d00acd30462c0d17e1e5173bde1636"},{"fixed":"c5833a4e509c01e0c17b2284984c620d08195574"},{"fixed":"6c7fff74d82624c640bd79513f5b4675ea6d88da"},{"fixed":"3bf9042a58f5d4870a2b45fe2c9423aafe6b9203"},{"fixed":"ae0042513eb979c84da690825902658c625718d1"},{"fixed":"041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"4.4.13"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"5.1.15"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"5.2.0"},{"fixed":"5.2.14"}]},{"range":[{"introduced":"5.3.0"},{"fixed":"5.3.10"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6c7fff74d82624c640bd79513f5b4675ea6d88da"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3bf9042a58f5d4870a2b45fe2c9423aafe6b9203"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ae0042513eb979c84da690825902658c625718d1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"041e8a22b3dbe3c986ec0ea3c6b46a22f5efe374"}]},{"original_tag":"5.3.10","range":[{"fixed":"c5833a4e509c01e0c17b2284984c620d08195574"}],"source":"REFERENCES_TAG"},{"original_tag":"5.2.14","range":[{"fixed":"308bffe5265e4b2a6f446e890063cf60f320081a"}],"source":"REFERENCES_TAG"},{"source":"REFERENCES_TAG","original_tag":"5.1.15","range":[{"fixed":"57811413dfe6c1a6befe14296799077ee7942a1a"}]},{"original_tag":"4.4.13","range":[{"fixed":"24e220c2b4bb1fa2b40bdeec37a062ae75c3e9ac"}],"source":"REFERENCES_TAG"}]}}],"versions":["5.1.14","4.4.12","5.3.9","5.2.13","4.4.11","5.1.13","5.3.8","5.3.7","5.3.6","5.3.5","5.3.4","5.3.3","5.3.2","5.2.12","5.3.0","5.3.1","5.2.11","5.2.10","5.2.9","5.2.8","5.2.7","5.2.6","5.2.5","5.2.4","5.1.12","5.2.3","5.2.2","5.2.1","5.2.0","5.1.11","5.1.10","5.1.9","5.1.8","5.1.7","5.1.6","5.1.5","5.1.4","5.1.3","5.1.1","5.1.0","5.1.0.alpha","4.4.10","4.4.9","5.0.1","4.4.8","4.4.7","4.4.6","4.4.5","4.4.3","4.4.4","4.4.2","4.4.1","4.4.0","4.3.0","5.0.0","4.2.0","4.1.0","4.0.7","4.0.6","4.0.5","4.0.4","4.0.3","4.0.2","4.0.1","4.0.0a0","3.5.6","3.5.5","3.5.4","3.5.3","3.5.2","3.5.1","3.5.0","3.4.1","3.4.0","3.3.0","3.2.1","3.2.0","3.1.4","3.1.3","3.1.2","3.1.1","3.0.4","3.0.3","3.0.2","2.2.6","2.2.4","2.2.3","2.2.2","2.2.0","2.1.2","2.1.1","2.1.0","2.0.1","2.0.0-alpha","1.6.4","1.6.3","1.6.2","1.6.1","1.6.0","1.5.1","1.4.2","1.4.1","1.4.0","1.2.0","1.1.2","v1.1.1","v1.1.0","v1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120859.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}