CVE-2026-138118
8.5high
HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HyperSpy HyperSpy | from 1.4.0 before 2.6.0 | CVE List |
All scores
| VulnCheck | 8.5high CVSS:4.0 | 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 |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138118 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138118 changed 2026-11-30 | Public domain |