CVE-2026-138118
7.8, highHyperSpy Deserialization of Untrusted Data Vulnerability
- CVSS
- 7.8, high high CVSS v3.1
- EPSS, next 30 days
- n/a
- Exploitation
- No public evidence
- Published
- 28 Nov 2026today
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.
Details
- Vendor
- HyperSpy
- Product
- HyperSpy
- Weakness
- CWE-502 (opens in a new tab)
- Status
- Received
- Updated
- 28 Nov 2026
- Assigner
- disclosure@vulncheck.com
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References 9
Patches and fixes 2
Advisories 1
Other references 6
- github.com /hyperspy/hyperspy/blob/v2.5.0/hyperspy/misc/export_dictionary.py#L187-L207 (opens in a new tab)
- github.com /hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L106-L146 (opens in a new tab)
- github.com /hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L645-L661 (opens in a new tab)
- github.com /hyperspy/hyperspy/issues/3699 (opens in a new tab)
- github.com /hyperspy/hyperspy/releases/tag/v2.6.0 (opens in a new tab)
- vulncheck.com /advisories/hyperspy-1.4.0-before-2.6.0-insecure-deserialization-rce-via-stored-model-restoration (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other HyperSpy CVEs
Every HyperSpy CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-138117 HyperSpy Eval Injection Vulnerability 7.8, high
Beyond this page
Is CVE-2026-138118 in your network?
This page tells you how dangerous CVE-2026-138118 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-138118 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 28 Nov 2026, not the live upstream state.