CHGNet through 0.4.2 contains an insecure deserialization vulnerability that allows attackers to execute code because
Source GCVE Database
Not known to be exploited · CVSS 8.4 High.
Data as of 30 Nov 2026, 02:32 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.4 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| CederGroupHubchgnet | Affected
| Fixed in– |
PyPIchgnetpkg:pypi/chgnetOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid loading untrusted or unauthenticated model files with CHGNet.from_file().
Description
CHGNet versions through 0.4.2 have an insecure deserialization vulnerability in the CHGNet.from_file() function, which calls torch.load() with weights_only set to false. This allows attackers to supply a malicious .pth.tar model file containing a crafted pickle __reduce__ gadget that can execute arbitrary code with the privileges of the user loading the file.
References
- nvd.nist.gov/vuln/detail/CVE-2026-138444 (opens in a new tab)
- github.com/CederGroupHub/chgnet/issues/258 (opens in a new tab)
- github.com/CederGroupHub/chgnet/pull/259 (opens in a new tab)
- github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811c (opens in a new tab)
- github.com/CederGroupHub/chgnet (opens in a new tab)
- github.com/CederGroupHub/chgnet/blob/8d04abc467630b30cd8349c2fe12eeab10f62171/chgnet/model/model.py (opens in a new tab)
- vulncheck.com/advisories/chgnet-through-0.4.2-insecure-deserialization-rce-via-chgnet-from-file-torch-load (opens in a new tab)