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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137998.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.5.3"
},
{
"last_affected": "0.5.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "4eb4af915fc47c945a9fcd776c7e8412e5b05a76"
}
],
"source": "REFERENCES_COMMIT"
}
]
}