← VULNERABILITIES

CVE-2026-138118

HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration

High · 8.5Fix available
CVSS
8.5
EPSS
—
Published
2026-11-28
Age
12h old
Modified
2026-11-28
Product
HyperSpy HyperSpy
Aliases
GHSA-j975-x368-3hrr

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.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.

Fixed in

2.6.0

Affected packages

EcosystemPackageRangeFixed
vendorHyperSpy>=1.4.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