boto4 (PyPI) · Malicious Code
Affects boto4Source GCVE Database
Malicious package : remove boto4 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to PyPI · OSV MAL-2026-14349
What to do
Remove boto4 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 |
|---|---|---|
| PyPIboto4 | 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 boto4 package on PyPI contains embedded malicious code that executes during installation. This code runs an executable capable of remote command execution, persistence, cryptomining, data exfiltration, network scanning, and worm-like propagation. Control of the malicious actions is managed via a Telegram bot. The affected versions are 1.0.0 and 1.0.2.