HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 27 Nov 2026, 20:01 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ehporHCIPy | Affected
| Fixed in– |
PyPIHCIPypkg:pypi/HCIPyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid loading untrusted .pkl files with HCIPy functions read_field, read_grid, or read_mode_basis. Exercise caution when handling input files and consider isolating the environment where these functions are used. Monitor vendor advisories for updates or patches addressing this vulnerability.
Description
HCIPy versions through 0.7.1 are affected by an insecure deserialization vulnerability. This flaw allows attackers to execute arbitrary code by supplying specially crafted .pkl files to certain functions that deserialize data using pickle.load based on file extension. The vulnerability arises because the deserialization process does not safely handle untrusted input, enabling malicious payloads embedded in pupil, apodizer, PSF, or mode-basis files to run code with the user's privileges.
References
- nvd.nist.gov/vuln/detail/CVE-2026-137997 (opens in a new tab)
- github.com/ehpor/hcipy/issues/423 (opens in a new tab)
- github.com/ehpor/hcipy/pull/424 (opens in a new tab)
- github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763 (opens in a new tab)
- github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py (opens in a new tab)
- vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py (opens in a new tab)