Threat Intel · 26 Nov 2026

Azure API Management Classic flaw exploited to steal secrets: rotate now

An unknown actor abused a management-plane flaw in Azure API Management Classic tiers to pull named values, subscription keys and identity-provider secrets. Microsoft closed the hole on 19 November, but stolen credentials still work until you rotate them.

← Threat Intel / Vulnerability

At a glance

ItemDetail
CVENone published. Microsoft Azure Service Health advisory, tracking ID MZK9-GH0
ComponentAzure API Management, Classic tiers (the researcher write-up names Basic, Standard and Premium)
Bug classUnauthorized access to management-plane functionality (details not published)
ImpactTheft of named values, subscription keys, identity-provider and OpenID Connect client secrets, and direct management API tokens
SeverityNo CVSS score. Exploitation confirmed by Microsoft and NSM
Fixed inServer-side mitigation deployed 19 November 2026. NSM: gateway runtime 0.52.x build 31936+ or 0.53.x build 31938+
Not affectedAPIM v2 tiers (Microsoft). NSM also lists Consumption-pattern runtimes as not vulnerable
DisclosedMicrosoft identified the issue on 18 November 2026; NSM published guidance on 20 November (updated 23 November)

What is wrong

Microsoft says a path into APIM management functions could be reached on Classic instances that were not set up according to its documented security best practices. Through it, an attacker could run administrative operations, including reading the secrets the service stores. Microsoft has not shared the technical root cause.

APIM often holds the keys to everything behind it. A stolen backend client secret or API key can be used directly against that backend, from anywhere, without ever touching APIM again. That is why patching alone is not enough.

Who is exposed

  • Any organisation running an APIM Classic instance (the researcher names Basic, Standard and Premium; Developer is also a Classic SKU, so check it too) before 19 November 2026. The risk is higher if the instance had no network isolation or kept secrets as plain named values instead of Azure Key Vault references.
  • Anything those secrets unlock: backend APIs, app registrations (client secrets), identity providers used by the developer portal, and Key Vault secrets APIM can read.
  • APIM v2 tiers are not affected, according to Microsoft.

Is it exploited?

Yes.

  • Equinor reported a cyberattack on 17 November and later said it found no sign that data was stolen or changed. Skagerak Energi reported an attempted attack on 18 November with no operational impact.
  • NSM linked these incidents to the APIM flaw, says the energy sector found it first, and says organisations in other sectors and outside Norway were affected. NSM has raised Norway's national cyber risk level to "high".
  • Microsoft's advisory says customers were exposed and secrets could have been accessed before the fix.
  • A Reddit post claims Key Vault access through a deprecated legacy API that left no customer-visible logs. BleepingComputer could not verify this; treat it as unconfirmed.

How to check

These are read-only.

  1. List your APIM instances and their SKU (Azure CLI):

     az apim list --query "[].{name:name, rg:resourceGroup, sku:sku.name, region:location}" -o table

    Anything that is not a v2 SKU is a Classic instance and in scope.

  2. Check the gateway runtime version (method from NSM). Open https://<your-gateway-hostname>/internal-status-0123456789abcdef and read RuntimeVersion:
    • 0.52.x: patched if the last number is 31936 or higher.
    • 0.53.x: patched if the last number is 31938 or higher.
    • Lower numbers: still vulnerable. Contact Microsoft support.
    • Patterns such as 0.53.4608.0 or 0.52.4150.0 are v2 or Consumption runtimes, which NSM says are not vulnerable.
  3. Inventory what APIM holds: named values (plain or Key Vault references), backend credentials, subscription keys, identity providers in the developer portal, and the managed identity's Key Vault permissions. This list is your rotation list.

How to fix

Microsoft has already closed the access path. Your job is to make any stolen secret worthless.

  1. Rotate everything APIM stored or could read: secret named values, backend API keys and client secrets, certificates, app registration secrets, identity-provider and OpenID Connect client secrets, all subscription keys (primary and secondary), and the tenant access keys.
  2. Rotate the Key Vault secrets that APIM references, not only the references.
  3. Investigate the backends those credentials reach. Microsoft asks customers to look for suspicious activity in any system the secrets give access to.
  4. Confirm the runtime version is at or above the NSM threshold. If it is not, raise a case with Microsoft.

If you can't rotate everything today

  • Start with the secrets that reach the most sensitive systems: production backends, app registrations with Microsoft Graph or Azure permissions, and payment or customer-data APIs.
  • Move remaining plain-text named values into Key Vault references and restrict network access to the instance (virtual network injection or private endpoint).
  • The researcher write-up also advises turning off the legacy Direct Management API ("Enable Management REST API": No), removing unused APIM users, and, if you do not use the developer portal, unpublishing it and disabling sign-up.

Detection ideas

Microsoft has not published indicators. The hunts below come from the Anders Kristiansen write-up and Microsoft log references; tune them to your workspace. A clean result does not prove you are safe, because the abused path may not have left ARM activity logs.

Secret reads on APIM through Azure Resource Manager (Sentinel / Log Analytics):

AzureActivity
| where TimeGenerated > ago(30d)
| where ResourceProviderValue =~ "MICROSOFT.APIMANAGEMENT"
| extend Op = tolower(OperationNameValue)
| where Op has_any ("/namedvalues/listvalue/action", "/subscriptions/listsecrets/action",
                    "/tenant/listsecrets/action", "/identityproviders/listsecrets/action",
                    "/policies/write", "/namedvalues/write", "/identityproviders/write",
                    "/users/write", "/portalsettings/write")
| summarize Calls = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated),
            IPs = make_set(CallerIpAddress, 20) by Caller, _ResourceId, Op
| order by LastSeen desc

Key Vault secret reads from unexpected places (resource-specific Key Vault logs):

AZKVAuditLogs
| where TimeGenerated > ago(30d)
| where OperationName in ("SecretGet", "SecretList", "SecretListVersions")
| summarize Reads = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
          by CallerIpAddress, _ResourceId, OperationName
| order by Reads desc

Other places to look:

  • AADServicePrincipalSignInLogs: sign-ins by the app registrations whose secrets APIM held, from IP addresses you have not seen before.
  • ApiManagementGatewayLogs: subscription IDs that appear for the first time, and requests with tracing enabled.
  • APIMDevPortalAuditDiagnosticLog: sign-ups, new users and identity changes on the developer portal.
  • Reported indicators: the researcher write-up lists IP addresses (from Wiz, 8 to 21 November) in the ranges 113.120.0.0/16, 113.124.0.0/16, 123.168.0.0/16, 120.221.0.0/16 and 222.173.70.0/24, plus the user agent curl/7.88.1 against Key Vault, Storage and APIM. These ranges also carry legitimate traffic, so only act on them together with suspicious behaviour.

Checklist

  • Listed every APIM instance and marked the Classic ones
  • Checked RuntimeVersion against the NSM thresholds (0.52.x ≥ 31936, 0.53.x ≥ 31938)
  • Rotated named values, backend credentials, subscription keys, identity-provider secrets and tenant access keys
  • Rotated the Key Vault secrets APIM references
  • Hunted AzureActivity, Key Vault, service principal sign-in and APIM gateway logs back to at least 8 November
  • Reviewed backends reached by APIM-held credentials for unusual access
  • Moved remaining secrets to Key Vault references and locked down network access
  • Disabled the legacy Direct Management API and unused developer portal sign-up

How Kage can help

  • Rotation sprint: we map what your APIM instances hold and run the credential rotation with your app and platform owners.
  • Compromise assessment: our incident response team hunts across Azure, Entra ID and Key Vault logs for use of stolen secrets.
  • Monitoring: our threat intelligence service tracks cloud-service incidents like this one for your environment.

References

Facts as of 26 November 2026. Microsoft has not published a CVE or technical root cause; we will update this advisory if it does.