CVE-2026-137997: HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py

Published Nov 27, 2026
·
Updated

HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to readfield, readgrid or readmodebasis. 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.

Affected Software

1 affected component
pypi/hcipy<=0.7.1

Event History

Nov 27, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which workflows are exposed?

Workflows that load .pkl files through read_field, read_grid, or read_mode_basis are exposed. This includes pickle-backed pupil, apodizer, PSF, and mode-basis files.

2

What does an attacker need to do?

An attacker must supply a crafted .pkl file and have it loaded by one of the affected functions. Exploitation requires user interaction and runs code with the privileges of the user loading the file.

3

Is authentication required for exploitation?

No privileges are required according to the CVSS vector. The attack is local and depends on a user loading the attacker-provided file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203