Azure API Management Classic Leaked Stored Secrets. Microsoft Closed the Hole on November 19, but Every Key Taken Before Then Still Works Until You Rotate It.

If you run Azure API Management on a Classic tier (Developer, Basic, Standard or Premium), rotate every secret that instance holds or can reach, today. Microsoft closed the access path on its side on Thursday, November 19, but by Microsoft's own account the fix "does not automatically invalidate credentials that may have been accessed before the fix was deployed." A subscription key or client secret copied out last week still works this week. Rotate it where it is issued, not only inside API Management, then hunt in the logs of whatever those credentials unlock.
Am I affected?
Do you have API Management at all, and on which tier? In the Azure portal, search "API Management services" and read the Pricing tier column. From the CLI: az apim list --query "[].{name:name, rg:resourceGroup, sku:sku.name}" -o table, once per subscription. Do it across every subscription with Azure Resource Graph: resources, filtered to type microsoft.apimanagement/service, projecting name, sku.name and subscriptionId. Microsoft says only Classic tiers are affected and the v2 tiers are not. Customers told The Register that forgotten development and test instances are the ones people miss, so count those too.
Did Microsoft notify you? Azure portal, Service Health, Security advisories. BleepingComputer reports the tracking ID as MZK9-GH0. Look at the tenant-level view as well as each subscription: in our own Entra incident this month, a subscription-scoped query returned nothing while the tenant-level events listed the advisory. Through the API, the tenant-wide list is a GET on management.azure.com/providers/Microsoft.ResourceHealth/events with api-version 2022-10-01.
Is your gateway on a fixed build? Norway's National Security Authority (NSM) says to open https://your-gateway-hostname/internal-status-0123456789abcdef and read RuntimeVersion. NSM lists builds as still vulnerable when the version is 0.52.x with a last number below 31936, or 0.53.x with a last number below 31938, and any lower version line. NSM says V2 and Consumption builds (version shapes like 0.53.4608.0 and 0.52.4150.0) are not vulnerable under that threshold. If yours is below it, NSM says to contact Microsoft directly. BleepingComputer notes it is unclear whether these runtime builds are separate from Microsoft's November 19 mitigation; check anyway.
Is the legacy direct Management API still switched on? Cloud security researcher Anders Kristiansen points at it: a per-instance endpoint on management.azure-api.net that authenticates with a SharedAccessSignature signed by the instance's tenant access key, not Entra ID, and whose calls are not recorded in the Azure Activity log. Microsoft retired it in March 2025, which, as he puts it, means "unsupported, not necessarily removed." In the portal: your instance, Management API, set "Enable Management REST API" to No. From the CLI, az rest GET on the instance's resource ID plus /tenant/access shows an enabled field. Microsoft's credential list includes "tokens used to call direct management APIs," so if it was on, assume those keys are burned.
Rotate, in this order. Microsoft's Azure Integration Services blog published a rotation guide on Saturday, November 21. Its rule: create the new credential at the issuer, update API Management, test, then revoke the old one, because "Updating the value in API Management doesn't revoke the old credential at its issuer." That covers subscription keys (move callers to the secondary key, regenerate the primary, then the reverse), named values (update the Key Vault secret and refresh, or replace the stored value with az apim nv update), backend credentials, OAuth 2.0 and OpenID Connect client secrets on the Entra app registration (az ad app credential reset with --append, then delete the old one), connection strings such as Event Hubs loggers, secrets pasted directly into policies, and the direct Management API access keys (regenerate only after callers have moved off each key).
Hunt where the credentials lead. Kristiansen's post has six KQL queries; these are the tables to run them against. In AzureActivity, look for the secret-read operations Microsoft.ApiManagement/service/namedValues/listValue/action, subscriptions/listSecrets/action, tenant/listSecrets/action and identityProviders/listSecrets/action, plus writes to policies, namedValues, identityProviders, users and portal settings, by Caller and CallerIpAddress. In ApiManagementGatewayLogs, look for subscription IDs you have not seen in the prior 30 days, and requests with tracing enabled. In APIMDevPortalAuditDiagnosticLog, look for sign-ups and new identities on the developer portal. Then follow the credentials out: AADServicePrincipalSignInLogs for the app IDs APIM holds secrets for, signing in from IP addresses new in the last seven days; Key Vault audit logs (SecretGet, SecretList) for the vaults APIM references; and MicrosoftGraphActivityLogs for those apps. Kristiansen says plainly that his lab had no APIM instance, so the queries are a starting point, not a validated detection. Direct Management API calls will not be in AzureActivity at all.
If you have no API Management instance in any subscription, none of this applies to you.
What is confirmed
Two separate sources, not one: Microsoft's advisory to affected customers, which is not public (BleepingComputer and The Register each saw it and quoted it), and the Norwegian National Security Authority's public notice.
The service. Azure API Management, Classic tiers. Microsoft says the v2 tiers are not affected. The Register, reading the advisory, says exposure was tied to Classic configurations that did not follow Microsoft's network security guidance, or that stored secrets directly in API Management rather than referencing Azure Key Vault.
Dates. Microsoft says it identified the issue on Wednesday, November 18, 2026, and mitigated it automatically the next day, Thursday, November 19, closing the access path. NSM published its notice Friday, November 20, and updated it Monday, November 23.
What could be taken. Per Microsoft's advisory as reported: secrets stored in named values, client secrets for identity providers, client secrets for OpenID Connect providers, subscription keys, and tokens used to call direct management APIs. NSM's wording: an unknown actor "actively went after access tokens, secrets and named values in APIM."
What customers must do. Microsoft: rotate potentially exposed credentials, investigate suspicious activity in the systems they reach, and review logs. Microsoft says it rotated Microsoft-controlled keys where appropriate; yours are your job. NSM: assume secrets and named values are compromised, rotate all tokens and secrets, map what sits behind each instance, and check the runtime version.
Who was hit. NSM linked the vulnerability to attacks on two Norwegian energy companies, Equinor and Skagerak Energi. Equinor disclosed "an ongoing cyber-attack against certain IT systems" on Tuesday, November 17, said on November 19 that "The attack does not appear to be specifically targeting Equinor," and on November 20 that the attack "has now been stopped" with "no indication that data has been stolen or altered." Equinor's own statements do not name Microsoft or Azure; the link is NSM's. Skagerak Energi reported an attempted attack with no operational impact.
What is not known
How far Microsoft goes on exploitation. BleepingComputer's headline says exploited, and NSM describes an actor actively going after secrets. The Microsoft advisory text quoted by The Register says customers "were exposed and an unauthorized party could have used the issue." We have not seen Microsoft say in its own words how many tenants were actually read.
How many customers. Not disclosed.
Who. No attribution from Microsoft, NSM or either company.
How it worked. No root cause is public. A Reddit post by an administrator alleges a zero-day authentication bypass in a deprecated legacy API and Key Vault access with an admin token; BleepingComputer could not verify it, and neither can we. Kristiansen's focus on the retired direct Management API is his reading of public sources, not a confirmed attack chain.
A CVE. None reported. CISA KEV: not listed. We read the KEV JSON, catalog version 2026.11.23 released November 23: no API Management entry. A server-side cloud fix often never gets one.
Indicators. None published in the sources we read. No IP addresses, domains, user agents or hashes from Microsoft, NSM, Equinor or Kristiansen. We added nothing to our feed.
How we know, and what our own data shows
Our own exposure. We do not use Azure API Management: our active Azure subscriptions hold no API Management instance and show no API Management activity in the last 90 days (two disabled subscriptions could not be queried). We received no advisory for it: neither our tenant-level nor our subscription-level Service Health events list one. We checked through the Azure Resource Manager API under our own credentials.
Edge. We scanned our edge sensors for requests to the NSM status path (internal-status-0123456789abcdef) or for anything naming azure-api.net since August 1: 0 matches in 762,278 edge blocks, 188,406 canary hits and 5,809 origin honeypot captures. That zero is expected and says little. The attack hit Microsoft-hosted gateways, not sites like ours, so our sensors could not have seen it. No first-party sighting, and we claim none.
Coverage. We had no post on this before today.
Why rotation is the whole job here
Microsoft's fix closed a door. It did not take back anything that already walked out. An API gateway is a credential vault by design: it holds the keys to every backend it fronts, the client secrets for the identity providers its developer portal trusts, and often a managed identity with Key Vault access. Whoever read those values does not need API Management anymore. They need your backends, your Entra app registrations and your Key Vault, which is why the hunt in step 6 goes past API Management, into the systems those keys open.
Sources
Microsoft advisory to affected customers, tracking ID MZK9-GH0 as reported by BleepingComputer (not public; we read it as quoted by BleepingComputer and The Register).
BleepingComputer, Lawrence Abrams, "Microsoft Azure flaw exploited to steal customers' API credentials," November 23, 2026: https://www.bleepingcomputer.com/news/security/microsoft-azure-flaw-exploited-to-steal-customers-api-credentials/
The Register, Connor Jones, "Norway links energy firm cyberattacks to critical Azure API Management flaw," November 23, 2026: https://www.theregister.com/security/2026/11/23/norway-links-energy-firm-cyberattacks-to-critical-azure-api-management-flaw/5311598
Norwegian National Security Authority (NSM), "NSM deler tiltak mot sårbarhet i Azure API Management," published November 20, updated November 23, 2026 (Norwegian): https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management
Microsoft Azure Integration Services Blog, "Rotating credentials in Azure API Management," November 21, 2026: https://techcommunity.microsoft.com/blog/integrationsonazureblog/rotating-credentials-in-azure-api-management/4575478
Anders Kristiansen, "Azure API Management advisory: what to check and how to hunt after recent attacks," November 21, 2026: https://anderskristiansen.com/post/2026/apim-legacy-access/
Equinor, "Equinor detected cyber attack," November 17 to 20, 2026: http://www.equinor.com/news/20261711-equinor-detected-cyber-attack
CISA Known Exploited Vulnerabilities catalog, version 2026.11.23: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
Read next
Microsoft's other cloud-side leak this month, where there was also nothing to patch and everything to check: Microsoft Entra Connect Health leaked tenant metadata for four months. No patch to install, but your admin emails are now phishing targets.
How do AI models see YOUR brand?
AIPM has audited 250+ domains. 15 seconds. Free while still in beta.
Was this useful? Thirty seconds, no cookies, no tracking, no third parties, your address hashed and never stored. The question lives here: https://analytics.dugganusa.com/nps.html#post=azure-api-management-classic-leaked-stored-secrets-microsoft-closed-the-hole-on-november-19-but-ev



Comments