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

Patches and fixes

Updates, commits and release notes

Related