{"id":"CVE-2026-137998","summary":"Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint","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.","modified":"2026-11-27T19:00:16.824887392Z","published":"2026-11-27T16:10:18.129Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/unitaryai/detoxify","events":[{"introduced":"d5376446b6accee5dd2d346f2d3050f9d8a69af1"},{"last_affected":"144f244397b0c153c3008b7dafd307eb164dbf1f"},{"fixed":"4eb4af915fc47c945a9fcd776c7e8412e5b05a76"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.5.3"},{"last_affected":"0.5.4"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"4eb4af915fc47c945a9fcd776c7e8412e5b05a76"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.5.4","v0.5.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137998.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}