{"id":"CVE-2026-138444","aliases":["CVE-2026-138444"],"related":[],"kind":"vulnerability","state":"published","title":"CHGNet through 0.4.2 Insecure Deserialization RCE via CHGNet.from_file torch.load","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-29T22:54:55.603Z","modified":"2026-11-30T21:17:30.443Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.4,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.4.2","status":"affected"}],"vendor":"CederGroupHub","product":"chgnet","source":"cvelist"}],"references":[{"url":"https://github.com/CederGroupHub/chgnet/issues/258","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CederGroupHub/chgnet","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CederGroupHub/chgnet/pull/259","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CederGroupHub/chgnet/blob/8d04abc467630b30cd8349c2fe12eeab10f62171/chgnet/model/model.py#L686","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/chgnet-through-0.4.2-insecure-deserialization-rce-via-chgnet-from-file-torch-load","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-30T20:14:16.957Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138444","url":"https://www.cve.org/CVERecord?id=CVE-2026-138444","licence":"CVE Terms of Use","modified":"2026-11-30T20:14:29.514Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138444","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138444","licence":"Public domain","modified":"2026-11-30T21:17:30.443Z"}],"updatedAt":"2026-11-30T21:32:18.948Z","epss":{"score":0.00678,"percentile":0.53601,"date":"2026-12-01T12:00:22.000Z"}}