CVE-2026-138117
7.8, highHyperSpy Eval Injection 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.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models.
Details
- Vendor
- HyperSpy
- Product
- HyperSpy
- Weakness
- CWE-95 (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/_components/expression.py#L58-L66 (opens in a new tab)
- github.com /hyperspy/hyperspy/blob/v2.5.0/hyperspy/axes.py#L1031-L1071 (opens in a new tab)
- github.com /hyperspy/hyperspy/blob/v2.5.0/hyperspy/component.py#L205-L217 (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-before-2.6.0-code-execution-via-sympy-sympify-in-hspy-zspy-files (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-138118 HyperSpy Deserialization of Untrusted Data Vulnerability 7.8, high
Beyond this page
Is CVE-2026-138117 in your network?
This page tells you how dangerous CVE-2026-138117 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-138117 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.