Insecure deserialization in Detoxify load_checkpoint allows code execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
Detoxify from 0.5.3 through 0.5.4 contains an insecure deserialization flaw in load_checkpoint, caused by untrusted pickle data (CWE-502). A local user who supplies a crafted .ckpt checkpoint file can run code with the privileges of the user who loads it, once that user opens the file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for Detoxify.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-27 Threatist record created from CVE-2026-137998
- 2026-11-27 Alias added: GHSA-58rq-hrhw-p349
References
Sources
- CVE-2026-137998 · CVE Program
- CVE-2026-137998 · NVD
- FIRST EPSS
- GHSA-58rq-hrhw-p349 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences