High severity7.8NVD Advisory· Published Nov 29, 2026
CVE-2026-138444
CVE-2026-138444
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.
Affected products
1- Range: <=0.4.2
Patches
Vulnerability mechanics
References
5- github.com/CederGroupHub/chgnet/blob/8d04abc467630b30cd8349c2fe12eeab10f62171/chgnet/model/model.pynvd
- github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811cnvd
- github.com/CederGroupHub/chgnet/issues/258nvd
- github.com/CederGroupHub/chgnet/pull/259nvd
- www.vulncheck.com/advisories/chgnet-through-0.4.2-insecure-deserialization-rce-via-chgnet-from-file-torch-loadnvd
News mentions
0No linked articles in our index yet.