{"answers":{"affected":"1 open source package ship an affected version, including detoxify.","exploited":"There is no known exploitation of CVE-2026-137998 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls load_checkpoint or torch.load. Many projects that include it are not exposed.","fix":"No fix has been published for CVE-2026-137998 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-137998 is a high-severity unsafe deserialization vulnerability in unitaryai Detoxify, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-137998 and fix it if it is affected.\n\nWhat it is: CVE-2026-137998 is a high-severity unsafe deserialization vulnerability in unitaryai Detoxify, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-137998 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls load_checkpoint or torch.load. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- detoxify (PyPI): affected from 0.5.3 up to 0.5.4; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to load_checkpoint or torch.load and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137998/ (Markdown: https://insights.sbomify.com/CVE-2026-137998/index.md)","id":"CVE-2026-137998","markdown":"https://insights.sbomify.com/CVE-2026-137998/index.md","name":"CVE-2026-137998","record":{"aliases":["GHSA-58rq-hrhw-p349"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ML model library","requires_auth":"none","requires_specific_call":true,"summary":"Attackers supplying a crafted checkpoint file can execute code when loaded with Detoxify's load_checkpoint; users loading untrusted checkpoints should care.","user_interaction":"required","vuln_class":"deserialization","vulnerable_functions":["load_checkpoint","torch.load"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Detoxify 0.5.3 through 0.5.4 Insecure Deserialization RCE via load_checkpoint","id":"CVE-2026-137998","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":"detoxify","n_packages":1,"n_references":5,"n_vendor_status":0,"next":{"headline":"JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template","id":"CVE-2026-137999"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.3"],"last_affected":["0.5.4"],"name_kind":null,"package":"detoxify","purl":"pkg:pypi/detoxify","purl_source":"cna","scope":"upstream","source":"CVE-2026-137998"}],"prev":{"headline":"HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py","id":"CVE-2026-137997"},"products":["Detoxify"],"published":"2026-11-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-27","vendor_status":[],"vendors":["unitaryai"]},"summary":"Attackers supplying a crafted checkpoint file can execute code when loaded with Detoxify's load_checkpoint; users loading untrusted checkpoints should care.","url":"https://insights.sbomify.com/CVE-2026-137998/"}