CVE-2026-137998
7.8HighPublished Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ pip install --upgrade detoxifyAI-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
- https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43
- https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76
- https://github.com/unitaryai/detoxify/issues/145
- https://github.com/unitaryai/detoxify/pull/146
- https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381627.0HighAttackers can execute arbitrary code or crash the application by providing a crafted backup file. This requires a user to perform a restore or addnew operation on an attached Alcatel phone.
- CVE-2026-1381617.8HighAttackers can achieve code execution by providing a crafted backup file with an overlong MD5 value. This requires a user to process a malicious file using convertbackup or restore.
- CVE-2026-1381607.8HighAttackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to trigger a restore or backup process with a crafted file.
- CVE-2026-1381597.5HighRemote attackers can execute arbitrary code or crash the application by sending a response body larger than 2 GB. This requires a user to browse to an attacker-controlled HTTP, FTP, or gopher server.
- CVE-2026-1381548.6HighAttackers can execute arbitrary code on your machine as the current user. This requires a user to subscribe to a malicious Steam Workshop mod.
- CVE-2026-1381198.8HighUnauthenticated attackers can steal session cookies and take over Kestra instances by tricking a logged-in user into clicking a malicious link. This is a reflected cross-site scripting attack that executes arbitrary JavaScript in the user's browser.