Attackers exploited a flaw in Azure API Management (APIM) Classic tiers to steal secrets stored in customers' gateways, and Microsoft's fix does not undo the theft. If your team runs a Classic instance, the patch is the start of your incident response, not the end of it. This article covers what is known as of 26 November 2026, why a gateway is such a rich target, and a step-by-step plan.

One caveat first: Microsoft's advisory (Azure Service Health ID MZK9-GH0) is private, so everything below about Microsoft's statements comes from press reports that saw it or quoted Microsoft. The story was still developing at the time of writing.

What happened, and what is still unknown

According to reporting on the advisory, Microsoft told customers that on 18 November 2026 it identified a security issue in APIM Classic tiers. It could allow unauthorized access to some management functionality if the service was not configured according to documented security best practices. Microsoft deployed a mitigation on 19 November that closed the access path and rotated Microsoft-controlled keys and credentials where appropriate. BleepingComputer reports that the access path allowed administrative operations, including reading secrets stored in the service.

Affected tiers are Classic Developer, Basic, Standard and Premium. Microsoft told BleepingComputer that the Classic Consumption tier and all v2 tiers were not affected.

Per CSO Online, the exposed material could include Named Values secrets, identity-provider and OpenID Connect client secrets, subscription keys, and tokens used to call direct management APIs. CSO also reports that Norway's National Security Authority (NSM) said an unknown actor had been actively looking for access tokens, secrets and named values in APIM. NSM named Equinor and Skagerak Energi among affected organizations and said other sectors and countries were also hit. Equinor disclosed a cyberattack on 17 November, and on 20 November said it had been stopped with no indication that data was stolen or altered.

What we do not know:

  • Root cause. Microsoft has not published one. A Reddit administrator quoted by BleepingComputer alleged an authentication bypass in a deprecated legacy API, and a secondary analysis summarized by the Cloud Security Alliance points to the legacy direct management API of Classic instances, which Microsoft retired on 15 March 2025. Neither account is confirmed by Microsoft, but "tokens used to call direct management APIs" are on Microsoft's own list of exposed material.
  • Scale. Microsoft has not said how many customers were exposed, and The Register reports that the extent of exploitation remains unclear.
  • A CVE or public bulletin. As of 26 November we found neither.
  • NSM's runtime checks. NSM published build thresholds (details below) while Microsoft says the fix is fully deployed on Microsoft-hosted instances. BleepingComputer notes that Microsoft did not explain why NSM keeps advising customers to check runtime versions. As the Cloud Security Alliance points out, both can be true at once: the patch may need no action from you while secret rotation still does.

Why 'Microsoft patched it' is not the end

The detail that changes your plan is timing. Per Techzine's report of the advisory, Microsoft says customers were vulnerable and an unauthorized party could have exploited the flaw before Microsoft identified it. The exposure began before the fix, and the fix does not automatically invalidate credentials that may have been used before it. Rotating and investigating is the customer's job.

NSM's advisory, published on 20 November and updated on 23 November, tells organizations to assume secrets and named values are compromised. We think that is the right default. If an attacker could read your gateway's secrets in the window before the fix, then a patched gateway is simply a gateway that no longer leaks, while every credential it held may still work elsewhere.

That is why a gateway is a single point of compromise. APIM typically sits in front of many backends and holds the keys to them: client secrets, connection strings, subscription keys. One flaw in one service turns into access to many systems, and the cleanup spans teams that may not even know the gateway stores their credentials.

The Register reports that Microsoft linked exposure to Classic instances that lacked its recommended network integration or that stored secrets in APIM rather than Azure Key Vault. Treat that as a hint about where your risk is highest, not as a reason to relax if you tick those boxes. The Cloud Security Alliance also notes that in the Classic tiers virtual network injection exists only on Developer and Premium, so Basic and Standard customers could not have followed the network part of that guidance without changing tiers.

Azure API Management Classic: inventory every instance first

You cannot rotate what you have not found. Start with every subscription and tenant, including development, test and proof-of-concept instances that someone created for a project that ended. Customers who spoke to The Register warned that forgotten development and test instances could leave more organizations exposed. A quick listing:

for sub in $(az account list --query "[].id" -o tsv); do
  az apim list --subscription "$sub" \
    --query "[].{name:name, rg:resourceGroup, sku:sku.name, sub:'$sub'}" -o table
done

For each instance, record the tier, the owner, which backends it calls, and where its secrets live. Mark Developer, Basic, Standard and Premium Classic instances as in scope; Consumption and v2 were reported as not affected.

Then do the NSM patch check. The Cloud Security Alliance suggests reading the RuntimeVersion value from the gateway's /internal-status-0123456789abcdef endpoint. NSM says instances on the 0.52.x runtime branch are patched from build 31936, and those on 0.53.x from build 31938. NSM tells owners of unpatched instances to contact Microsoft. Microsoft's own position is that the fix is fully deployed with no customer action needed. We recommend noting each instance's runtime version in your inventory anyway, since the gap between the two positions has not been explained.

While you are on each instance, check whether the legacy direct management REST API is still enabled. Microsoft retired it on 15 March 2025 and advises disabling it; the Cloud Security Alliance recommends disabling it on every Classic instance and regenerating the tenant access keys it authenticates with.

Rotate at the issuer, not only inside APIM

Microsoft's guidance, published on 21 November on its Azure Integration Services blog and summarized by CSO, covers subscription keys, secret Named Values, backend credentials, OAuth 2.0 and OpenID Connect client secrets, connection strings and credentials written into policies. Researcher Anders Kristiansen, quoted by CSO, adds the Key Vault secrets the service references and tenant access keys to the list. Microsoft's key instruction is to rotate each credential at the system that issued it, not just to update the value stored in APIM.

That distinction matters. Pasting a new value into a Named Value changes what APIM sends, but if the old secret is still valid at the identity provider or database, the attacker's copy keeps working.

What APIM holds Rotate where
Subscription keys In APIM, then re-issue to consumers
Secret Named Values At whichever system the secret authenticates to
OAuth 2.0 / OpenID Connect client secrets At the identity provider
Backend credentials, connection strings At the backend or database
Secrets hard-coded in policies At the issuer, then remove from the policy
Model provider API keys (AI gateway use) At the model provider, or replace with managed identity
Key Vault secrets APIM references At the issuer, then the new version in Key Vault
Tenant access keys (direct management API) Regenerate in APIM after disabling the API

Order the work by blast radius: identity-provider secrets, database connection strings and model provider keys first, subscription keys later. For each credential, the Cloud Security Alliance's order is: create the new credential at the issuer, update APIM or the Key Vault secret, confirm traffic works, and only then revoke the old one. With Key Vault-backed named values, wait for the refresh (see below) before revoking.

Then look downstream. Per the secondary analysis the Cloud Security Alliance summarizes, calls to the direct management API are not recorded in the Azure Activity Log, so quiet APIM logs do not rule out theft. Check access and sign-in logs at the issuing systems for use of the old credentials, Entra sign-ins of applications whose secrets APIM held, and Key Vault audit logs for access that does not match normal gateway refresh behaviour, covering the full retention period before 19 November.

Move secrets to Key Vault and tighten admin access

Once you have rotated, stop storing secrets as plain Named Values. Microsoft Learn's APIM security guidance recommends referencing versionless Key Vault secret identifiers from named values and using a managed identity to read Key Vault. It also recommends Conditional Access for APIM administrators and Azure Policy definitions, including one that requires named values to be backed by Key Vault.

On rotation mechanics, Microsoft Learn says a Key Vault update reaches an APIM named value within four hours, or sooner with a manual refresh. Plan for that delay during future rotations, and force the refresh when you need it immediate.

Be realistic about what this buys you. Key Vault references reduce how many secrets sit inside the gateway and make future rotations a one-place change. They would not have made secrets taken before 19 November safe, which is why rotation comes first.

Plan v2 and fix how you learn about incidents

Because v2 tiers were reported as unaffected, put an APIM v2 evaluation on your roadmap for new and existing workloads. We found no announced retirement date for Classic, so this is a planning decision, not a deadline. A migration is a project with testing, networking and DNS work; do not mistake it for the incident response.

The other lesson is about visibility. As of 26 November we found no CVE ID or public MSRC bulletin; notification went through a private Azure Service Health advisory. The Cloud Security Alliance notes this departs from Microsoft's June 2024 commitment to issue CVEs for critical cloud-service vulnerabilities. If your exposure tracking depends on CVE feeds, this incident would have passed you by. Make sure Service Health alerts reach a monitored security channel, and that subscription-level security contacts are current.

A separate item to keep apart: Microsoft also confirmed an exploited Entra Connect Health API flaw that exposed tenant technical-contact emails and configuration data. Microsoft said passwords, password hashes, authentication tokens, valid cryptographic keys, on-premises topology details and Azure subscription information were not exposed. It is a different incident.

Key takeaways

  • Treat the APIM Classic fix as the start of the incident: Microsoft says it does not invalidate credentials that may already have been used.
  • In scope: Classic Developer, Basic, Standard and Premium. Consumption and v2 were reported as unaffected.
  • Inventory every instance, including forgotten dev and test ones, and record runtime versions against NSM's builds 31936 (0.52.x) and 31938 (0.53.x).
  • Disable the retired direct management API and regenerate tenant access keys.
  • Assume secrets are exposed, as NSM advises, rotate at the issuing system, not only in APIM, and look for use of old credentials in downstream logs.
  • Move named values to Key Vault references with a managed identity, and add Conditional Access and Azure Policy.
  • Evaluate APIM v2, and route Service Health advisories to your security team, since this disclosure had no CVE.