Search
Find a vulnerability
Search criteria
1 vulnerability found for Detoxify by unitaryai
CVE-2026-137998 (GCVE-0-2026-137998)
Vulnerability from cvelistv5 – Published: 2026-11-27 16:10 – Updated: 2026-11-27 16:10
VLAI
EPSS
VEX
Title
Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint
Summary
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.
Severity
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/unitaryai/detoxify/issues/145 | issue-tracking |
| https://github.com/unitaryai/detoxify/pull/146 | issue-trackingpatch |
| https://github.com/unitaryai/detoxify/commit/4eb4… | patch |
| https://github.com/unitaryai/detoxify/blob/v0.5.4… | technical-description |
| https://www.vulncheck.com/advisories/detoxify-0.5… | third-party-advisory |
Impacted products
Date Public
2026-11-26 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:pypi/detoxify",
"product": "Detoxify",
"repo": "https://github.com/unitaryai/detoxify",
"vendor": "unitaryai",
"versions": [
{
"lessThanOrEqual": "0.5.4",
"status": "affected",
"version": "0.5.3",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Dilanka Kaushal Hewage (r3vpwnx)"
}
],
"datePublic": "2026-11-26T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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\u0027s privileges."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-502",
"description": "Deserialization of Untrusted Data",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-27T16:10:18.129Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"issue-tracking"
],
"url": "https://github.com/unitaryai/detoxify/issues/145"
},
{
"tags": [
"issue-tracking",
"patch"
],
"url": "https://github.com/unitaryai/detoxify/pull/146"
},
{
"tags": [
"patch"
],
"url": "https://github.com/unitaryai/detoxify/commit/4eb4af915fc47c945a9fcd776c7e8412e5b05a76"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/unitaryai/detoxify/blob/v0.5.4/detoxify/detoxify.py#L38-L43"
},
{
"name": "VulnCheck Advisory: Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/detoxify-0.5.3-through-0.5.4-insecure-deserialization-rce-via-load-checkpoint"
}
],
"title": "Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-137998",
"datePublished": "2026-11-27T16:10:18.129Z",
"dateReserved": "2026-11-27T15:59:22.136Z",
"dateUpdated": "2026-11-27T16:10:18.129Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}