← VULNERABILITIES

CVE-2026-138117

HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files

High · 8.5Fix available
CVSS
8.5
EPSS
—
Published
2026-11-28
Age
12h old
Modified
2026-11-28
Product
HyperSpy HyperSpy
Aliases
GHSA-632c-gw75-99r3

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

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.

Fixed in

2.6.0

Affected packages

EcosystemPackageRangeFixed
vendorHyperSpy>=1.2.0, <2.6.02.6.0

Sources

  • NVD · first seen 12h ago · NVD terms of use
  • OSV · first seen 11h ago · CC-BY 4.0
  • CVE List · first seen 12h ago · CVE Terms of Use

References

JSON