CVE-2026-138444
JSON

8.4high

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

Severity
8.4high CVSS:4.0 by VulnCheck
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
CederGroupHub chgnetup to 0.4.2CVE List

All scores

VulnCheck8.4high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138444 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138444 changed 2026-11-30Public domain