ml-shared (PyPI) · Malicious Code
Affects ml-sharedSource GCVE Database
Malicious package : remove ml-shared and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:12 UTC
Malicious package
Published to PyPI · OSV MAL-2026-11202
What to do
Remove ml-shared 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 |
|---|---|---|
| PyPIml-shared | 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 ml-shared package on PyPI versions 6.3.0 and 8.8.0 contains malicious code that exfiltrates basic system information and all environment variables during installation. This behavior classifies the package as a malicious infostealer with limited risk. No official patch or remediation guidance is currently available.