{"id":"CVE-2026-138444","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-138444","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.…","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.","published":"2026-11-29T23:17:01.717","modified":"2026-11-29T23:17:01.717","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811c","label":"CederGroupHub/chgnet@5403c44"},"references":[{"type":"WEB","url":"https://github.com/CederGroupHub/chgnet"},{"type":"WEB","url":"https://github.com/CederGroupHub/chgnet/blob/8d04abc467630b30cd8349c2fe12eeab10f62171/chgnet/model/model.py#L686"},{"type":"WEB","url":"https://github.com/CederGroupHub/chgnet/commit/5403c44c6c1ac053010252988da77dc14e7c811c"},{"type":"WEB","url":"https://github.com/CederGroupHub/chgnet/issues/258"},{"type":"WEB","url":"https://github.com/CederGroupHub/chgnet/pull/259"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/chgnet-through-0.4.2-insecure-deserialization-rce-via-chgnet-from-file-torch-load"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-11-29T23:17:01.717"}}