Radar · CyberSafe

HIGH · 8.4

CVE-2026-138444

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

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.

Details

Severity
HIGH 8.4
KEV
no
EPSS
0.00572 (percentile 0.4122), as of 2026-11-30
Fix
available
Published
First seen
Updated

CVSS scores

VersionScoreSeverityVectorSource
4.08.4highCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Ncve.org
3.17.8highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hcve.org
4.08.4highCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Xnvd
3.17.8highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hnvd

Affected products

ProductVersionsFixed in
cedergrouphub / chgnet>=0 <=0.4.2

Sources

Timeline

  1. FIX (1 day ago)fix: unknown → available
  2. NEW (1 day ago)