CVE-2026-138118 — HyperSpy Vulnerability
Source-verified CVE facts from NVD, CISA KEV and FIRST EPSS.
Direct answer
- Affected
- HyperSpy HyperSpy · < 2.6.0, < 28fdf2d0320c76c5d57a57e323ac510b2005e13d, < 6382ae0ff5b0000a7aad5dc2f4b997b1d8dccb09
- Impact vs exploitation
- HIGH impact · P2 · EPSS 0.2%
- Remediation
- Fixed in 2.6.0, 28fdf2d0320c76c5d57a57e323ac510b2005e13d, 6382ae0ff5b0000a7aad5dc2f4b997b1d8dccb09
- Evidence
- 21 cited sources
Authoritative Technical Advisory
Verified source facts · NVD / FIRST EPSS / CNA / OSV.devHyperSpy 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.
- Vendor
- HyperSpy
- Product
- HyperSpy
- CWE
- CWE-502 (CNA)
- Threat type
- Deserialization
- CISA SSVC
- NOT ESTABLISHED
- Source status
- Received
- Affected versions
- 1.4.0 to < 2.6.0 · < 28fdf2d0 (commit) · < 6382ae0f (commit) · < dbd10c9e (commit)
- Fixed versions
- 2.6.0 · 28fdf2d0 (commit) · 6382ae0f (commit) · dbd10c9e (commit)
- Source
- NVD / FIRST EPSS / CNA / OSV.dev
Attack surface & CVSS vector breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hlocal attack surface; low attack complexity; none privileges required; user interaction required; scope unchanged; 3 of 3 impact dimensions fully compromised.
Requires local access to the target system.
No specialised conditions; reliable exploitation is practical.
No privileges required before exploitation.
A victim must perform an action for exploitation to succeed.
Impact stays within the vulnerable component.
Total loss of confidentiality.
Total loss of integrity.
Total loss of availability.
Triage & exploitation posture
HIGHSchedule remediation ahead of routine maintenance and verify exposure now.
- CVSS base score 7.8
- EPSS 0.22%
Remediation & upgrade matrix
4 affected branches| Affected range | Fixed in | Action | Reference |
|---|---|---|---|
| 1.4.0 to < 2.6.0 | 2.6.0 | Upgrade to the fixed release for this branch. | Advisory ↗ |
| < 28fdf2d0 (commit) | 28fdf2d0 (commit) | Upgrade to the fixed release for this branch. | Advisory ↗ |
| < 6382ae0f (commit) | 6382ae0f (commit) | Upgrade to the fixed release for this branch. | Advisory ↗ |
| < dbd10c9e (commit) | dbd10c9e (commit) | Upgrade to the fixed release for this branch. | Advisory ↗ |
Environment Risk Adjuster
Computed in your browser · nothing is sentNo adjustment applied
Public Exploit / PoC Intelligence
Keyless PoC-in-GitHub indexIntelligence may be incomplete, conflicting, stale, or revised. Capability is not execution; classification is not attribution.