torchserve-cu124-nightly (PyPI) · Malicious Code
Affects torchserve-cu124-nightlySource GCVE Database
Malicious package : remove torchserve-cu124-nightly and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 22:15 UTC
Malicious package
Published to PyPI · OSV MAL-2026-20379
What to do
Remove torchserve-cu124-nightly from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPItorchserve-cu124-nightly | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The torchserve-cu124-nightly package on PyPI is identified as malicious software that masquerades as a legitimate torchserve binary. When loaded as a module, it attempts to download and execute a remote file. In the analyzed sample, the remote file was empty, indicating potential preparation for future weaponization. This package is part of a campaign with clear malicious intent, involving downloading and executing remote executables.