CVE-2026-144450: galpy through 1.12.2 Code Execution via Unsafe Pickle Loading of savefilename
galpy through 1.12.2 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying a crafted pickle file loaded via the savefilename argument. Attackers can provide a malicious shared plot cache that plotPotentials, plotRotcurve, or similar functions unpickle without restriction, running a reduce payload with the victim's privileges.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of galpy through version 1.12.2 are exposed when they run plotting functions such as plotPotentials or plotRotcurve that load a pickle through the savefilename argument. The code runs with the privileges of the user or process performing the load.
What does an attacker need to exploit it?
An attacker needs to supply or cause the victim to use a crafted pickle file as a shared plot cache via savefilename. Exploitation requires the victim to invoke a function that unpickles that file, so user interaction is required.
What can be done if updating is not immediately possible?
Do not load savefilename cache files from untrusted, shared, or attacker-writable locations. Restrict write access to plot-cache directories and only use cache files generated by trusted sources.
How can I determine whether my environment may be affected?
Check whether galpy is at version 1.12.2 or earlier and whether code uses savefilename with plotPotentials, plotRotcurve, or similar plotting functions. Investigate whether the referenced cache files can be replaced or supplied by untrusted users or processes.