CVE-2026-138118
HIGH 8.5CVSS 4.0HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration
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.
- Published
- 28 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-502
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.5 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 8.5 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | VulnCheck | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | HyperSpy | HyperSpy | >= 1.4.0, < 2.6.0 | 2.6.0 |
References
- https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/misc/export_dictionary.py#L187-L207 · technical-description
- https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L106-L146 · technical-description
- https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L645-L661 · technical-description
- https://github.com/hyperspy/hyperspy/commit/28fdf2d0320c76c5d57a57e323ac510b2005e13d · patch
- https://github.com/hyperspy/hyperspy/commit/6382ae0ff5b0000a7aad5dc2f4b997b1d8dccb09 · patch
- https://github.com/hyperspy/hyperspy/issues/3699 · issue-tracking
- https://github.com/hyperspy/hyperspy/releases/tag/v2.6.0 · release-notes
- https://github.com/hyperspy/hyperspy/security/advisories/GHSA-j975-x368-3hrr · vendor-advisory
- https://www.vulncheck.com/advisories/hyperspy-1.4.0-before-2.6.0-insecure-deserialization-rce-via-stored-model-restoration · third-party-advisory
History
- 30 Nov 2026 17:32 UTC · NVD: 2 references added
- 30 Nov 2026 17:02 UTC · CVE List: updated (other details)
- 28 Nov 2026 03:10 UTC · NVD: first stored (published 28 Nov 2026)
- 28 Nov 2026 02:10 UTC · CVE List: first stored (published 28 Nov 2026)