home / blog

2026-11-29 · high

CVE-2026-138117: Code Execution in HyperSpy

Severe vulnerability in HyperSpy allowing Python code execution via .hspy/.zspy files.

CVE-2026-138117: Code Execution in HyperSpy

The CVE-2026-138117 vulnerability in HyperSpy allows Python code execution when loading .hspy or .zspy files containing malicious expressions. Attackers can insert malicious code in axes, Expression components, or twin function expressions in the files.

The vulnerability has a CVSS score of 7.8, classified as "high". Social media signals show that the community is taking note of the announcement, with 2 posts in the last 24 hours, but no public exploits have been reported yet.

For defense, it is recommended to apply the patch as soon as available, always verify the origin of .hspy/.zspy files before opening them, and restrict access to such files only from trusted sources.

At a glance

What
Code execution vulnerability in HyperSpy that allows Python code execution through evaluation of expression strings.
Severity
CVSS 7.8 (high)
Affected versions
HyperSpy from 1.2.0 to 2.6.0 (excluding 2.6.0)
Fix
Not reported
Status
Published on 2026-11-28
Action
Apply patch as soon as available and verify the origin of .hspy/.zspy files

Sources: NVD, CVE-2026-138117

← All articles