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.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub