PT-2026-160720
CVE-2026-137998
·
Published
2026-11-27
·
Updated
2026-11-27
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Detoxify versions 0.5.3 through 0.5.4
Description
An insecure deserialization issue exists in the
load checkpoint() function. An attacker can execute arbitrary code with the user's privileges by providing a specially crafted checkpoint file. This is achieved by embedding a pickle reduce gadget within a .ckpt file that is processed via torch.load when the weights only variable is set to False.Recommendations
For versions 0.5.3 through 0.5.4, avoid loading untrusted checkpoint files or ensure that
torch.load is called with weights only=True to prevent the execution of arbitrary code. Found an issue in the description? Have something to add? Feel free to write us 👾