{"id":"CVE-2026-138444","summary":"CHGNet through 0.4.2 Insecure Deserialization RCE via CHGNet.from_file torch.load","details":"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.","modified":"2026-11-30T00:00:10.161443558Z","published":"2026-11-29T22:54:55.603Z","database_specific":{"cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138444.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138444.json"},{"type":"PACKAGE","url":"https://github.com/CederGroupHub/chgnet"},{"type":"ARTICLE","url":"https://github.com/CederGroupHub/chgnet/blob/8d04abc467630b30cd8349c2fe12eeab10f62171/chgnet/model/model.py#L686"},{"type":"FIX","url":"https://github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811c"},{"type":"REPORT","url":"https://github.com/CederGroupHub/chgnet/issues/258"},{"type":"FIX","url":"https://github.com/CederGroupHub/chgnet/pull/259"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138444"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/chgnet-through-0.4.2-insecure-deserialization-rce-via-chgnet-from-file-torch-load"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cedergrouphub/chgnet","events":[{"introduced":"0"},{"last_affected":"8d04abc467630b30cd8349c2fe12eeab10f62171"},{"fixed":"5403c44c6c1ac053010252988da77dc14e7c811c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.4.2"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5403c44c6c1ac053010252988da77dc14e7c811c"}]}]}}],"versions":["v0.4.1","v0.4.2","v0.3.8","v0.3.7","v0.3.6","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","V0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.04","v0.1.03","v0.1.02","v0.1.01","v0.0.01-beta","v0.0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138444.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}