Insecure Deserialization Vulnerability in HCIPy by ehpor
CVE-2026-137997
8.5HIGH
What is CVE-2026-137997?
HCIPy versions prior to 0.7.1 are susceptible to an insecure deserialization vulnerability that allows an attacker to execute arbitrary code. This is achieved by manipulating specially crafted .pkl files which, when processed via functions such as read_field, read_grid, or read_mode_basis in hcipy/util/io.py, invoke the pickle library without adequate security checks. The vulnerability arises from the use of the pickle module that automatically executes code during deserialization, allowing a user with access to the application to unintentionally execute malicious payloads with their privileges. Users of HCIPy are advised to upgrade to mitigate these risks.
Affected Version(s)
HCIPy 0 <= 0.7.1
