HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.
History

Tue, 01 Dec 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 29 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Hyperspy
Hyperspy hyperspy
Vendors & Products Hyperspy
Hyperspy hyperspy

Sat, 28 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
Description HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.
Title HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-28T01:43:08.379Z

Updated: 2026-11-30T16:40:38.218Z

Reserved: 2026-11-27T23:50:31.898Z

Link: CVE-2026-138118

cve-icon Vulnrichment

Updated: 2026-11-30T16:40:06.044Z

cve-icon NVD

Status : Deferred

Published: 2026-11-28T02:17:33.327

Modified: 2026-12-04T17:18:42.280

Link: CVE-2026-138118

cve-icon Redhat

No data.