CHGNet insecure deserialization allows code execution via model files
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
CederGroupHub chgnet through 0.4.2 contains an insecure deserialization flaw (CWE-502). CHGNet.from_file() calls torch.load() with weights_only=False, so loading a crafted .pth.tar model file can execute code. An attacker who supplies such a file can run code with the privileges of the user who loads it.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| CederGroupHub | chgnet | up to 0.4.2 | — | No fix listed | CNA |
- chgnet VendorCederGroupHub Affected up to 0.4.2 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for chgnet.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-29 Threatist record created from CVE-2026-138444
- 2026-11-30 Alias added: GHSA-fxhh-6q57-mr22
- 2026-11-30 CISA SSVC decision points changed
References
Patch 2
Sources
- CVE-2026-138444 · CVE Program
- CVE-2026-138444 · NVD
- FIRST EPSS
- GHSA-fxhh-6q57-mr22 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences