What happened
According to reporting by BleepingComputer and SecurityWeek, Microsoft has notified customers that a vulnerability in Azure API Management (APIM) Classic tiers was exploited to reach secrets stored in the service. In its Azure Service Health advisory (tracking ID MZK9-GH0), Microsoft says it identified the issue on 18 November 2026 and deployed a mitigation on 19 November. It states that APIM v2 tiers are not affected, and that the exposure applied to Classic instances that were not configured according to its recommended security practices.
Microsoft lists the material that may have been exposed: secrets stored in Named Values, client secrets for identity providers, client secrets for OpenID Connect providers, subscription keys, and tokens used to call the direct management APIs.
Norway's National Security Authority (NSM) published its own advisory saying an unknown actor targeted tokens, secrets and Named Values in APIM, that Norway's energy sector found the problem first, and that organizations in other countries and sectors are affected. Press reports link the activity to incidents disclosed by the energy companies Equinor and Skagerak Energi. How widely it was exploited is not yet clear. No CVE identifier had been published at the time of writing.
Microsoft says the unauthorized management access was possible when Classic instances were not configured according to its recommended security practices. The Register reports that Microsoft linked exposure to instances that did not follow its network security guidance or that kept secrets directly in APIM instead of referencing them from Azure Key Vault. Instances that do follow that guidance may be in a better position, but Microsoft's advice to rotate potentially exposed credentials still applies. The Register also reports that NSM urges organizations to assume their secrets and Named Values were exposed and to rotate all tokens and secrets.
An administrator on Reddit made further claims about a legacy API and missing logs. BleepingComputer says it could not verify them, so we treat them as unconfirmed.
Why it matters
An API gateway is a credential store by design. Whatever sits in Named Values, whether backend keys, identity provider secrets or downstream tokens, is exactly what lets an attacker move into other services. The attacker does not need to stay in APIM; they need only to copy what is stored there once.
The key sentence in Microsoft's advisory is that the remediation blocks the access path but does not automatically invalidate credentials that may have been accessed before the fix. Patching, in this case, is done on the provider side and tells you nothing about whether your secrets were already read. That makes this an incident response task for every Classic-tier customer, not a wait-for-the-patch task.
What defenders should check
- Which APIM instances do you run, and on which tier? Classic tiers are in scope; v2 is not, according to Microsoft.
- Which secrets live in each instance (Named Values, IdP and OIDC client secrets, subscription keys)? Treat all of them as potentially read.
- Which backends, Key Vaults and third-party services do those secrets unlock?
- Has your instance received the update? NSM's advisory says instances below specific runtime versions remain vulnerable and tells customers to ask their service provider if the update is missing. Read NSM's page for the exact versions rather than relying on a summary.
A starting point for inventory (ours, adapt it to your environment) in Azure Resource Graph:
resources
| where type =~ 'microsoft.apimanagement/service'
| project name, resourceGroup, subscriptionId, tier = sku.name, location
Detection ideas
The following queries are our own starting points, to adapt and test before relying on them. They are not vendor-published indicators. Microsoft and NSM urge customers to review logs; a researcher has also published hunting queries for APIM, which we recommend reading alongside this article.
Secrets reaching Key Vault from callers you do not recognize:
AzureDiagnostics
| where ResourceProvider == 'MICROSOFT.KEYVAULT'
| where OperationName in ('SecretGet','SecretList','KeyGet')
| summarize count(), make_set(OperationName) by CallerIPAddress, identity_claim_appid_g
| order by count_ desc
Management-plane activity on APIM outside normal change windows:
AzureActivity
| where ResourceProviderValue =~ 'MICROSOFT.APIMANAGEMENT'
| where OperationNameValue has_any ('write','delete','listSecrets','action')
| project TimeGenerated, Caller, CallerIpAddress, OperationNameValue, ResourceGroup
Sign-ins or token use by service principals from new IP addresses after 17 November 2026 are also worth a look, particularly where the principal's secret was stored in APIM.
Investigation
If you run Classic APIM, collect the following before and during rotation so you can answer whether anything was used:
- Azure Activity logs for the APIM resources and the subscriptions around them
- Key Vault diagnostic logs for vaults whose secrets were referenced by APIM
- Sign-in and service principal logs for every identity whose secret was in a Named Value or IdP configuration
- Logs from backend services that accepted APIM subscription keys
Microsoft's advice is to investigate suspicious activity in systems reachable by the exposed credentials. Note that a Reddit report claims the legacy path did not produce customer-visible logs. This is unverified, so absence of log evidence should not be read as absence of access.
Mitigation
- Rotate all secrets stored in the instance: Named Values, identity provider and OIDC client secrets, subscription keys. Rotate the downstream credentials too, not just the APIM copy.
- Confirm the instance is running the updated runtime as described in NSM's advisory.
- Prefer references to Key Vault with managed identity over plaintext Named Values, and apply Microsoft's documented hardening guidance for APIM.
- Plan a move off Classic tiers, since Microsoft reports v2 is not affected.
If you need help scoping exposure or running the investigation, our incident response and threat hunting teams do this kind of work. Sources: Microsoft Azure Service Health advisory MZK9-GH0 as reported by BleepingComputer, SecurityWeek, and Norway's NSM advisory.