Technical impact
The vulnerability is an insecure deserialization flaw in HCIPy 0.7.1 and earlier, caused by the hcipy/util/io.py module selecting pickle based on file extension and then calling pickle.load. A malicious .pkl file that includes a __reduce__ gadget can trigger arbitrary code execution during read_field, read_grid or read_mode_basis, running with the same privileges as the HCIPy user.
Affected Systems
Affected systems include the Python package HCIPy, released by the vendor ehpor. Versions up to and including 0.7.1 are vulnerable. The flaw resides specifically in the io.py module which loads pickle files without validation.
Risk and Exploitability
The CVSS base score is 8.5, indicating a high‑severity vulnerability. EPSS data are not available, so the probability of exploitation remains unknown, and the issue is not listed in the CISA KEV catalog. The likely attack vector is an attacker controlling the contents of a .pkl file that is read by HCIPy; if the application is exposed to network inputs or accepts uploads, the deserialization will execute code under the running user’s privileges. This could lead from local compromise to full system takeover, depending on the environment.