{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.5.3"
                  },
                  {
                    "last_affected": "0.5.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "4eb4af915fc47c945a9fcd776c7e8412e5b05a76"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "d5376446b6accee5dd2d346f2d3050f9d8a69af1"
            },
            {
              "last_affected": "144f244397b0c153c3008b7dafd307eb164dbf1f"
            },
            {
              "fixed": "4eb4af915fc47c945a9fcd776c7e8412e5b05a76"
            }
          ],
          "repo": "https://github.com/unitaryai/detoxify",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-502"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137998.json"
  },
  "details": "Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows attackers to execute code by supplying a crafted checkpoint file. Attackers can embed a pickle __reduce__ gadget in a .ckpt file loaded via torch.load with weights_only=False to run code with the user's privileges.",
  "id": "CVE-2026-137998",
  "modified": "2026-11-27T18:45:32.014765978Z",
  "published": "2026-11-27T16:10:18.129Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137998.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/unitaryai/detoxify"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43"
    },
    {
      "type": "FIX",
      "url": "https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/unitaryai/detoxify/issues/145"
    },
    {
      "type": "FIX",
      "url": "https://github.com/unitaryai/detoxify/pull/146"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137998"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint"
}