CVE news / CVE-2026-138118
High 7.80.22% chance of attack in 30 days

Serious flaw lets attackers run code by sending crafted data

CVE-2026-138118 · published 28 Nov 2026

CVE-2026-138118 is a serious security flaw in the affected software, rated 7.8 out of 10.

The official 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.

We have no report of attacks yet. Plan the update now, before attackers start.

How to check if you are affected, and how to fix it

The full analysis (affected versions, step-by-step check, fix, what to do if you cannot update yet, and signs of an attack) is free in your SegfaultSec dashboard. You also get an alert when a new vulnerability matches the software on your website.

Read the full analysis

Check your website for free

Enter your address. You create a free account, and the report is ready in a few minutes.