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
| Version | Score | Severity | Vector | Source |
|---|---|---|---|---|
| 4.0 | 8.4 | high | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | cve.org |
| 3.1 | 7.8 | high | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | cve.org |
| 4.0 | 8.4 | high | CVSS: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:X | nvd |
| 3.1 | 7.8 | high | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | nvd |
Affected products
| Product | Versions | Fixed in |
|---|---|---|
| cedergrouphub / chgnet | >=0 <=0.4.2 |
Sources
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-138444
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-138444
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-138444
Timeline
- FIX (1 day ago)fix: unknown → available
- NEW (1 day ago)