CVE-2026-137997
7.8HighPublished Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-502
What an attacker gets
Attackers can execute arbitrary code with your privileges by providing a malicious .pkl file. This requires a user to open a crafted file using the library's read functions.
Root cause
The library uses pickle.load on untrusted input files without validation, allowing for arbitrary code execution via __reduce__ gadgets.
Affected versions
HCIPy through 0.7.1
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a version beyond 0.7.1 once available. Until then, do not process .pkl files from untrusted sources using read_field, read_grid, or read_mode_basis.
$ pip install --upgrade hcipyAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py selects pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs code with the user's privileges.
References
- https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264
- https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763
- https://github.com/ehpor/hcipy/issues/423
- https://github.com/ehpor/hcipy/pull/424
- https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381627.0HighAttackers can execute arbitrary code or crash the application by providing a crafted backup file. This requires a user to perform a restore or addnew operation on an attached Alcatel phone.
- CVE-2026-1381617.8HighAttackers can achieve code execution by providing a crafted backup file with an overlong MD5 value. This requires a user to process a malicious file using convertbackup or restore.
- CVE-2026-1381607.8HighAttackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to trigger a restore or backup process with a crafted file.
- CVE-2026-1381597.5HighRemote attackers can execute arbitrary code or crash the application by sending a response body larger than 2 GB. This requires a user to browse to an attacker-controlled HTTP, FTP, or gopher server.
- CVE-2026-1381548.6HighAttackers can execute arbitrary code on your machine as the current user. This requires a user to subscribe to a malicious Steam Workshop mod.
- CVE-2026-1381198.8HighUnauthenticated attackers can steal session cookies and take over Kestra instances by tricking a logged-in user into clicking a malicious link. This is a reflected cross-site scripting attack that executes arbitrary JavaScript in the user's browser.