Read the docs

Insecure deserialization in Detoxify load_checkpoint allows code execution

Priority LOW 36CWE-502Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.

Summary

Detoxify from 0.5.3 through 0.5.4 contains an insecure deserialization flaw in load_checkpoint, caused by untrusted pickle data (CWE-502). A local user who supplies a crafted .ckpt checkpoint file can run code with the privileges of the user who loads it, once that user opens the file.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00259 10th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
unitaryaiDetoxify0.5.3 – 0.5.4—No fix listedCNA
  • Detoxify Vendorunitaryai Affected 0.5.3 – 0.5.4 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Detoxify.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Timeline

  1. 2026-11-27 Threatist record created from CVE-2026-137998
  2. 2026-11-27 Alias added: GHSA-58rq-hrhw-p349

References

Sources