Read the docs

CHGNet insecure deserialization allows code execution via model files

Priority HIGH 72CWE-502Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00572 41st percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
CederGroupHubchgnetup to 0.4.2—No fix listedCNA
  • 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

  1. 2026-11-29 Threatist record created from CVE-2026-138444
  2. 2026-11-30 Alias added: GHSA-fxhh-6q57-mr22
  3. 2026-11-30 CISA SSVC decision points changed

References

Sources