parseyaml (PyPI) · Malicious Code
Affects parseyamlSource GCVE Database
Malicious package : remove parseyaml and rotate any secrets on hosts that installed it.
Data as of 9 Nov 2026, 00:20 UTC
Malicious package
Published to PyPI · OSV MAL-2026-18772
What to do
Remove parseyaml 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 |
|---|---|---|
| PyPIparseyaml | 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 parseyaml package on PyPI version 1.2.0 contains malicious code embedded in a dependency that masquerades as a YAML loader. This malicious loader executes remote code by downloading and running a remote malicious script. The campaign associated with this threat is identified as 2026-11-parseyaml and is categorized as malware with clear malicious intent.