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.
History

Fri, 27 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Unitaryai
Unitaryai detoxify
Vendors & Products Unitaryai
Unitaryai detoxify

Fri, 27 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-27T16:10:18.129Z

Updated: 2026-11-27T16:10:18.129Z

Reserved: 2026-11-27T15:59:22.136Z

Link: CVE-2026-137998

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-27T17:17:59.160

Modified: 2026-11-27T17:17:59.160

Link: CVE-2026-137998

cve-icon Redhat

No data.