UTC

Microsoft durabletask PyPI compromise

Three releases of durabletask, Microsoft's Durable Task Python client, were published to PyPI with a stolen publishing token, outside the normal pipeline. On import they fetched a credential-theft framework aimed at cloud, Kubernetes, Vault and password-manager secrets.

First seen
2026-05-19
Disclosed
2026-05-19
Affected packages
1
Attributed to
TeamPCP, according to Wiz and the PyPA advisory (likely)

What to do

Pin to 1.4.0 or earlier, or move to 1.5.0 or later, which Microsoft published through its own trusted pipeline. Treat any Linux host that imported 1.4.1 to 1.4.3 as fully compromised: rotate every secret it could reach and rebuild it.

Check a lockfile for these releases →
Affected releases
PackageRegistryVersions
durabletaskPyPI1.4.1, 1.4.2, 1.4.3
Sources
  1. https://github.com/microsoft/durabletask-python/issues/137 · Microsoft durabletask-python maintainers (GitHub), 2026-05-19
  2. https://osv.dev/vulnerability/PYSEC-2026-207 · PyPA Advisory Database (via OSV), 2026-06-09
  3. https://osv.dev/vulnerability/MAL-2026-4174 · OpenSSF Malicious Packages (via OSV), 2026-05-19
  4. https://www.wiz.io/blog/durabletask-teampcp-supply-chain-attack · Wiz, 2026-05-19

Written up from the sources above and last checked on 2026-11-18. ShieldMap describes what was affected and what to do; it does not publish the malicious code or how it worked. Report a correction to [email protected].