Technical impact
The vulnerability is an insecure deserialization flaw in the load_checkpoint function of Detoxify. By feeding a specially crafted checkpoint file containing a pickle __reduce__ gadget, an attacker can cause the underlying torch.load routine to execute arbitrary Python code with the privileges of the running process. This results in remote code execution, potentially allowing full control over systems where Detoxify is executed.
Affected Systems
Affected software is the unitaryai Detoxify package, versions 0.5.3 through 0.5.4. Users running either of those releases are vulnerable until they apply an updated version.
Risk and Exploitability
The CVSS score is 8.5, indicating high severity. EPSS is not reported, so the exploitation probability cannot be quantified but the lack of availability does not imply low risk. The vulnerability is not listed in CISA KEV, yet the ability to run arbitrary code poses a significant threat. Attackers must supply a malicious checkpoint file; no network exposure is required, but in deployments where users can upload or load checkpoints, the risk is elevated. Local injection of the file or leveraging any service that loads checkpoints from untrusted sources could be used.