CVE-2026-137518: pyfda through 0.9.5 Code Execution via Insecure Deserialization in load_filter()
pyfda through 0.9.5 contains an insecure deserialization vulnerability in loadfilter() that allows attackers to execute code by supplying crafted .npz or .pkl filter files. Attackers can embed a reduce gadget that runs via np.load with allowpickle=True or pickle.load before validation, executing code with the user's privileges.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of pyfda through 0.9.5 are exposed when they load an attacker-supplied or otherwise untrusted .npz or .pkl filter file. Code executes with the privileges of the user running pyfda.
What does an attacker need to exploit it?
The attacker needs to persuade a user to load a crafted filter file. The crafted file can contain a __reduce__ gadget that is triggered during deserialization before validation occurs.
Are both supported filter-file formats affected?
Yes. Crafted .npz files can trigger code through np.load with allow_pickle=True, and crafted .pkl files can trigger code through pickle.load.