GHSA-58rq-hrhw-p349HighCVSS 7.8
Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137998
- https://github.com/unitaryai/detoxify/issues/145
- https://github.com/unitaryai/detoxify/pull/146
- https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76
- https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43
- https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint
- https://github.com/advisories/GHSA-58rq-hrhw-p349