CVE-2026-138444

Severity CVSS v4.0:
HIGH
Type:
CWE-502 Deserialization of Untrusted Dat
Publication date:
29/11/2026
Last modified:
29/11/2026

Description

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.