CVE-2026-137997
HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, rea…
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Produkte (Ehpor)
| Produkt | Betroffene Versionen |
|---|---|
| HCIPy | bis einschließlich 0.7.1 Version 0 ≤0.7.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/ehpor/hcipy/issues/423
- https://github.com/ehpor/hcipy/pull/424
- https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763
- https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264
- https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py
- https://github.com/advisories/GHSA-q538-gr46-hr2p
- https://nvd.nist.gov/vuln/detail/CVE-2026-137997