# CVE-2026-137998

Insecure deserialization in Detoxify allows code execution via crafted .ckpt files.

- Page: https://www.vulneraibility.com/cve/CVE-2026-137998
- CVSS: 8.5
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.26% (percentile 10.8)
- Weakness: CWE-502
- EUVD: EUVD-2026-137350 (https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137350)
- Published: 2026-11-27

## Affected versions

- unitaryai Detoxify: affected >= 0.5.3 and <= 0.5.4

A version outside these ranges is not a statement that it is unaffected.

## Impact

Remote code execution as the user by loading a malicious .ckpt via Detoxify's load_checkpoint/torch.load (weights_only=False).

## Action

Patch when possible

## Recommendation

Upgrade to the patched Detoxify release; avoid loading untrusted .ckpt files.

## References

- [other] https://github.com/unitaryai/detoxify/issues/145
- [patch] https://github.com/unitaryai/detoxify/pull/146
- [patch] https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76
- [other] https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43
- [advisory] https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint
- [EUVD (ENISA)] https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137350

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
