Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 27 Nov 2026, 20:01 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| unitaryaiDetoxify | Affected
| Fixed in– |
PyPIDetoxifypkg:pypi/DetoxifyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid loading untrusted checkpoint files with torch.load using weights_only=False. Monitor the vendor advisory for updates and apply patches once released.
Description
Detoxify versions 0.5.3 through 0.5.4 have an insecure deserialization vulnerability in the load_checkpoint function. This flaw allows attackers to execute arbitrary code by providing a specially crafted checkpoint (.ckpt) file that exploits Python's pickle __reduce__ gadget. The vulnerability arises when torch.load is called with weights_only=False, enabling code execution with the privileges of the user running the application.
References
- nvd.nist.gov/vuln/detail/CVE-2026-137998 (opens in a new tab)
- github.com/unitaryai/detoxify/issues/145 (opens in a new tab)
- github.com/unitaryai/detoxify/pull/146 (opens in a new tab)
- github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76 (opens in a new tab)
- github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py (opens in a new tab)
- vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint (opens in a new tab)