cdktn-provider-azurerm (PyPI) · Malicious Code
Affects cdktn-provider-azurermSource GCVE Database
Malicious package : remove cdktn-provider-azurerm and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:24 UTC
Malicious package
Published to PyPI · OSV MAL-2026-13606
What to do
Remove cdktn-provider-azurerm 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 |
|---|---|---|
| PyPIcdktn-provider-azurerm | 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 cdktn-provider-azurerm package on PyPI is a malicious package impersonating the legitimate HashiCorp cdktf-provider-azurerm by using a single-character substitution in its name and mimicking branding. It forces installation of a malicious base package 'cdktn' that executes attacker-controlled code during import, potentially compromising the installer's Python environment. This package version 17.0.0 is affected. There is no CVSS score or known exploits in the wild reported.