{"id":"MAL-2026-20379","title":"Malicious code in torchserve-cu124-nightly (PyPI)","summary":"Malicious code in torchserve-cu124-nightly (PyPI)","severity":"critical","exploited":true,"vendor":"torchserve-cu124-nightly","product":"torchserve-cu124-nightly","ecosystem":"pip","affected":["torchserve-cu124-nightly"],"published":"2026-11-23","updated":"2026-11-24","sourceUpdated":"2026-11-24T04:46:08.003459692Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-20379","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/torchserve-cu124-nightly"},{"url":"https://pypi.org/project/torchserve-cu124-nightly/0.12.1.dev20241119/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-11-24T16:48:35.837Z","slug":"MAL-2026-20379","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d4709d5ff3a0105c39cf5e5d79a8392c165b76d7cbc36fdcab32e2aee6fbe5ab)\nThe package impersonates a torchserve CUDA 12.4 nightly build (its README actually advertises a different name, 'vllm-serve-worker') and ships no real serving code. Its entire payload is a stub that, when the installed CLI is invoked, downloads an opaque binary from https://files.catbox.moe/rtiikj into ~/.cache/torchserve_cu124/runtime via urllib.request.urlretrieve, chmods it to 0o755, and replaces the current process with it via os.execve. catbox.moe is an anonymous one-shot file-sharing host with no relationship to any torchserve or vLLM publisher, and the fetched bytes are non-inspectable; the hash pin in the stub was chosen by the same party that chose the URL and does not establish provenance. The publisher-mismatch between the distribution name, the module docstring, and the README is consistent with a brand-impersonation dropper whose sole purpose is to deliver attacker-chosen code to hosts that install and run it.\n\n## Source: kam193 (29dd901e316b06a70ab1b47324bc301bc2264bedd655ebfee623ba2d415a1b79)\nPackage is a dropper pretending to install a torchserve binary. During loading as a module, it downloads and executes a remote file - though in the analyzed version, the remote file was empty, suggesting it waits for weaponization.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-torchserve-cu124-nightly\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote executable.\n\n\n## Affected packages\n\n- `torchserve-cu124-nightly`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}