CVE-2026-137998

7.8High

Published Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-502

What an attacker gets

Attackers can execute arbitrary code with your user privileges by providing a malicious checkpoint file. This requires a user to load a crafted .ckpt file into the application.

Root cause

The application uses insecure deserialization via torch.load with weights_only set to False when processing checkpoint files.

Affected versions

Detoxify 0.5.3 through 0.5.4

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Detoxify 0.5.5 or later. If you cannot upgrade, ensure you only load checkpoint files from trusted sources and verify their integrity before processing.

remediation — bash
$ pip install --upgrade detoxify

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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

Source: nvd.nist.gov/vuln/detail/CVE-2026-137998

More fully triaged vulnerabilities you may want to check next.