Skip to content
HighVulnerability

CVE-2026-138444: CHGNet insecure deserialization in from_file() via crafted model file

Identifier
CVE-2026-138444
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

CHGNet through 0.4.2 contains an insecure deserialization flaw because CHGNet.from_file() calls torch.load() with weights_only=False. An attacker who supplies a crafted .pth.tar model file with a pickle __reduce__ gadget can execute code with the privileges of the user loading it.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.