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.
Published: 2026-11-28
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 29 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Hyperspy
Hyperspy hyperspy
Vendors & Products Hyperspy
Hyperspy hyperspy

Sat, 28 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
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.
Title HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Hyperspy Hyperspy
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-01T21:52:59.627Z

Reserved: 2026-11-27T23:50:24.916Z

Link: CVE-2026-138117

cve-icon Vulnrichment

Updated: 2026-12-01T21:52:54.438Z

cve-icon NVD

Status : Received

Published: 2026-11-28T02:17:33.150

Modified: 2026-12-01T22:17:57.050

Link: CVE-2026-138117

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-29T22:28:31Z

Weaknesses