Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43
- https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b
- https://github.com/unitaryai/detoxify/issues/145
- https://github.com/unitaryai/detoxify/pull/146
- https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deser
FAQ
What is CVE-2026-137998?
CVE-2026-137998 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 p...
How severe is CVE-2026-137998?
CVE-2026-137998 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137998?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.