CVE-2026-138117 - HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files
Vulnerability · Reported by NVD ·
- Severity
- High Estimated, NVD hasn't scored it yet
- CVSS
- – Not scored yet
- Exploit chance (EPSS)
- 0.25% Higher than 10% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
Is it being exploited?
The EPSS model estimates a 0.25% chance this CVE will be exploited in the next 30 days, which is low and higher than 10% of all published CVEs.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
Tags
CVE-2026-138117
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-138117 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
NVD has not scored this CVE yet. The severity shown is an estimate from the article text and will be replaced automatically.
How this data is collected: methodology & sources.