cvelo
P2 · HighCVSS 7.8EPSS 0.7%

CHGNet through 0.4.2 Insecure Deserialization RCE via CHGNet.from_file torch.load

  • CVE-2026-138444
  • GHSA-fxhh-6q57-mr22
  • EUVD-2026-137868

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • CederGroupHub chgnet

    Affected versionsFixed in
    up to 0.4.2none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.