CVE-2026-137998
published high CVSS 4.0 · 8.5Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| unitaryai | — | Detoxify0.5.3 through 0.5.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| unitaryai | Detoxify | 0.5.3 through 0.5.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-502 Deserialization of Untrusted Data
References
5- https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43
- https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76
- https://github.com/unitaryai/detoxify/issues/145
- https://github.com/unitaryai/detoxify/pull/146
- VulnCheck Advisory: Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint
Provider assertions
2VulnCheck · cna
Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 889e9b9eb5b0f2011eac98839a5e7ccdd92a4840dce064e95ef05182320fc1cf
- Ingested
- 01 Dec 2026, 21:54:18 UTC
- Source record
- Official CVE record