CVE-2026-138117
HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files
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.
INFO
Published Date :
Nov. 28, 2026, 1:43 a.m.
Last Modified :
Nov. 28, 2026, 1:43 a.m.
Remotely Exploit :
No
Source :
VulnCheck
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | HIGH | MITRE-CVE | ||||
| CVSS 4.0 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 |
Solution
- Update HyperSpy to a version later than 2.6.0.
- Avoid loading untrusted .hspy or .zspy files.
- Review code for unsafe use of sympify().
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138117 vulnerability anywhere in the article.