All vulnerabilities

PyPI

CVE-2026-137998

Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint

Severity
High 8.5
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 10% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
detoxifyPyPI · osv:PyPI:detoxify
  • From 0.5.3 up to 0.5.4

About detoxify

Weekly downloads (PyPI)
14,784PyPI Stats, 27 Nov 2026

This is the only vulnerability in detoxify in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137998