CVE-2026-138118
HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration
- Severity
- high CVSS 8.5 (v4.0)
- Affects
- HyperSpy
- Weakness
- CWE-502: Deserialization of Untrusted Data
- Published
- 28 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.