CVE-2026-138444: Vulnerability in CederGroupHub Chgnet
Patch soon. 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.
CWE-502
- Exploitation
- None confirmed
- Severity
- 7.8 of 10
- Attack likelihood
- 0.6 % in 30 days
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-fxhh-6q57-mr22
- EU ID
- EUVD-2026-137868
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness
- CWE-502
- Published
- 29 Nov 2026
- Last change
- 4 Dec 2026
- Likelihood rank
- Higher than 41 % of all rated vulnerabilities
- Analysis status
- Deferred
Affected products
Affected versions and the first fixed release
- CederGroupHub Chgnet Through 0.4.2; Version 0 ≤0.4.2. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/CederGroupHub/chgnet
- github.com/CederGroupHub/chgnet/blob/8d04abc467630b30cd8349c2fe12eeab10f62171/chgnet/mo...
- github.com/CederGroupHub/chgnet/issues/258
- vulncheck.com/advisories/chgnet-through-0.4.2-insecure-deserialization-rce-via-chgnet-f...
Patches and fixes
Updates, commits and release notes
- github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811c
- github.com/CederGroupHub/chgnet/pull/259
Related
- Chgnet vulnerabilities Recent advisories, watch this product