Technical impact
A flaw in CHGNet allows an attacker to supply a specially crafted model file that triggers Python’s pickle deserialization via torch.load() with weights_only=False. The vulnerability stems from the __reduce__ gadget in the pickle payload and can cause arbitrary code execution with the privileges of the user loading the file, making it a high‑impact insecure deserialization risk (CWE‑502).
Affected Systems
The affected product is CHGNet by CederGroupHub, specifically all releases up to and including version 0.4.2. Later releases are not known to contain the issue.
Risk and Exploitability
The CVSS score is 8.4 and the EPSS score is not available, so the exact exploitation probability is uncertain. The vulnerability can be leveraged locally whenever a user loads a malicious model file; indirect exposure may occur if the application accepts files over a network or from an untrusted source. The vulnerability is not listed in CISA KEV, suggesting no known active exploitation yet. The high severity and code‑execution potential make it a critical risk for environments that trust model files.