CVE-2026-137998
Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint
High · 8.5
- CVSS
- 8.5
- EPSS
- —
- Published
- 2026-11-27
- Age
- 23h old
- Modified
- 2026-11-27
- Product
- unitaryai Detoxify
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
Description
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.
Sources
- NVD · first seen 22h ago · NVD terms of use
- OSV · first seen 20h ago · CC-BY 4.0
- CVE List · first seen 23h ago · CVE Terms of Use
References
- https://github.com/unitaryai/detoxify/issues/145 issue-tracking
- https://github.com/unitaryai/detoxify/pull/146 issue-tracking
- https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76 patch
- https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43 technical-description
- https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137998.json advisory
- https://github.com/unitaryai/detoxify package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137998 advisory