Microsoft has confirmed that an attacker exploited a vulnerability in Azure API Management (APIM) Classic to read credentials that customers kept inside their APIM instances. Norway’s National Security Authority (NSM) links the abuse to the cyberattacks against Equinor and Skagerak Energi disclosed earlier this month. Microsoft says it identified the issue on November 18, 2026 and closed the unauthorized access path on November 19. Customers did not need to install anything for the fix. Closing the path does not revoke secrets that were already taken, though, and those are the customer’s job.
No CVE has been assigned. As with most service-side cloud bugs, the tracking reference is an Azure Service Health advisory, not an NVD entry. Your vulnerability scanner will not flag this, so your inventory and rotation process have to handle it.
What was affected
- Vulnerable: APIM Classic Developer, Basic, Standard and Premium tiers.
- Not affected: the Consumption tier and all APIM v2 tiers (Basic v2, Standard v2, Premium v2).
According to Microsoft and NSM, the attacker went after material that APIM stores on behalf of the tenant:
- Named Values, especially plain-text and “secret” values held directly in APIM rather than as Key Vault references
- Client secrets for identity providers configured for the developer portal (Entra ID, Azure AD B2C, other OAuth/OpenID Connect providers)
- Subscription keys that front-end clients use to call APIs through the gateway
- Tokens for the direct management API, the legacy management REST endpoint on the instance itself
Reporting that cites The Register says exposure was worst where secrets sat inline in APIM. Where Named Values were Key Vault references resolved through a managed identity, the gateway held a reference, not the credential itself. Microsoft also says the configurations hit hardest were “not aligned with recommended security practices”. Treat that as a hint about where the blast radius was largest, not as a sign that Key Vault users are fully in the clear.
Microsoft has not published the technical root cause. The pattern is a cross-tenant or unauthenticated read of instance configuration in the Classic control plane, the same class of problem as earlier Azure multi-tenant isolation bugs. In practice, anyone who reached it could see the keys APIM uses to call your backends and the keys your clients use to call APIM.
Why it matters
APIM sits in front of backends, so its Named Values are often backend credentials: basic-auth passwords, API keys for SaaS dependencies, client-certificate passphrases, and shared secrets for HMAC-signed requests. Stealing them gives an attacker direct access to the backend without passing through the gateway at all. Stolen identity-provider client secrets let an attacker impersonate the developer-portal app registration. A stolen management API token gives write access to policies, which means traffic interception at the gateway.
Equinor disclosed an “ongoing cyberattack” on November 17, the day before Microsoft says it found the flaw. Skagerak Energi reported an attempted attack, with no operational impact and no evidence of data loss. No actor has been publicly named. Attacks on two Norwegian energy operators in the same window look targeted, not opportunistic, and there is no reason to assume they were the only tenants affected.
What to do now
- Inventory. List every APIM instance on a Classic tier:
az apim list --query "[?sku.name!='Consumption'].{name:name,rg:resourceGroup,sku:sku.name}" -o table. - Rotate everything stored inline. Follow NSM’s guidance: treat every secret and Named Value held in APIM as compromised. Start with identity-provider client secrets and subscription keys, then rotate the backend credentials those Named Values represent at the backend. Regenerating only the APIM copy does nothing.
- Regenerate management access. Regenerate the direct management API keys (primary and secondary), and disable the direct management API if you don’t use it.
- Hunt, knowing the logs are thin. The Azure Activity log records ARM write/action operations but not ordinary reads, and it does not capture calls to the direct management API. Look elsewhere for evidence: gateway logs (
ApiManagementGatewayLogs) showing subscription-key use from unfamiliar IPs, backend authentication logs for the rotated credentials, and Entra sign-in logs for the developer-portal app registration from unexpected locations since early November. - Move secrets to Key Vault references with a managed identity, and plan a migration off Classic to v2 tiers where the architecture allows.
References
- BleepingComputer: Microsoft Azure flaw exploited to steal customers’ API credentials
- SC Media: Microsoft addresses Azure API Management vulnerability linked to energy sector attacks
- ITdaily: Attackers steal API credentials via flaw in Azure API Management Classic
- Anders Kristiansen: Azure API Management advisory: what to check and how to hunt
- Microsoft Learn: Use named values in Azure API Management policies (Key Vault references)