CVE-2026-137998

high

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.

References

https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint

https://github.com/unitaryai/detoxify/pull/146

https://github.com/unitaryai/detoxify/issues/145

https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76

https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137350

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base 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

Severity: High