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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 29 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title CHGNet through 0.4.2 Insecure Deserialization RCE via CHGNet.from_file torch.load
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-29T22:54:55.603Z

Reserved: 2026-11-29T21:11:41.055Z

Link: CVE-2026-138444

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-29T23:17:01.717

Modified: 2026-11-29T23:17:01.717

Link: CVE-2026-138444

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses