Skip to content
HighVulnerability

CVE-2026-138118: HyperSpy insecure deserialization via crafted .hspy or .zspy files

Identifier
CVE-2026-138118
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

HyperSpy versions 1.4.0 before 2.6.0 contain an insecure deserialization flaw that allows arbitrary Python code execution. An attacker can embed a malicious pickle payload in the _class_dump of a component or in a 'fn'-flagged _whitelist entry of a .hspy or .zspy file, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.