CVE-2026-137998: Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint

Published Nov 27, 2026
·
Updated

Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in loadcheckpoint 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 weightsonly=False to run code with the user's privileges.

Affected Software

1 affected component
pypi/detoxify>=0.5.3<=0.5.4

Event History

Nov 27, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker control to exploit this issue?

The attacker must be able to supply a crafted .ckpt checkpoint file that is loaded through Detoxify's load_checkpoint functionality. The checkpoint can contain a pickle __reduce__ gadget that executes during torch.load processing.

2

Does exploitation require prior access or elevated privileges?

No prior privileges are required according to the supplied vector, but exploitation requires user interaction to load the attacker-controlled checkpoint. Code runs with the privileges of the user who loads the file.

3

Which deployments are exposed?

Detoxify versions 0.5.3 through 0.5.4 are affected when they load untrusted checkpoint files through load_checkpoint. Environments that only load checkpoints from trusted sources are not described as exposed to attacker-supplied payloads.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203