{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.4.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "5403c44c6c1ac053010252988da77dc14e7c811c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "8d04abc467630b30cd8349c2fe12eeab10f62171"
            },
            {
              "fixed": "5403c44c6c1ac053010252988da77dc14e7c811c"
            }
          ],
          "repo": "https://github.com/cedergrouphub/chgnet",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-502"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138444.json"
  },
  "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.",
  "id": "CVE-2026-138444",
  "modified": "2026-11-29T23:46:05.481280389Z",
  "published": "2026-11-29T22:54:55.603Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CHGNet through 0.4.2 Insecure Deserialization RCE via CHGNet.from_file torch.load"
}