Read the docs

Insecure deserialization in HCIPy lets crafted .pkl files run code

Priority HIGH 72CWE-502Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.

Summary

HCIPy through 0.7.1 contains an insecure deserialization flaw (CWE-502) that lets attackers execute code with a crafted .pkl file passed to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py chooses pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs with the user's privileges.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00259 10th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ehporHCIPyup to 0.7.1—No fix listedCNA
  • HCIPy Vendorehpor Affected up to 0.7.1 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for HCIPy.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-27 Threatist record created from CVE-2026-137997
  2. 2026-11-27 Alias added: GHSA-q538-gr46-hr2p
  3. 2026-11-30 CISA SSVC decision points changed

References

Sources