CVE-2026-138444
CHGNet through 0.4.2 Insecure Deserialization RCE via CHGNet.from_file torch.load
- Severity
- high CVSS 8.4 (v4.0)
- Affects
- chgnet · CederGroupHub
- Weakness
- CWE-502: Deserialization of Untrusted Data
- Published
- 29 November 2026 by VulnCheck
CHGNet through 0.4.2 contains an insecure deserialization vulnerability that allows attackers to execute code because CHGNet.from_file() calls torch.load() with weights_only=False. Attackers can supply a crafted .pth.tar model file containing a pickle __reduce__ gadget to execute code with the privileges of the user loading it.
Our coverage
We have not written about this one. Know why it matters? Send a tip.