What matters now
Current position: Critical (CVSS 3.1 base score 9.8). Platform remediated by Microsoft on 19 November 2026; previously exposed credentials may remain valid until rotated.
Affected versions: Azure API Management Classic tiers (Developer, Basic, Standard, Premium). Not affected per Microsoft: Classic Consumption tier and all v2 tiers. NSM states gateway runtimes below 0.52.31936 or 0.53.31938 remain vulnerable.
Observed exploitation: Active exploitation confirmed: listed in CISA KEV on 4 December 2026 and marked as exploited by Microsoft. Norway's NSM links attacks on Equinor and Skagerak Energi to the flaw. Scale of exploitation is unknown and ransomware use is listed as unknown.
Recommended next action: Inventory Azure API Management Classic instances, preserve logs, then rotate all secrets held in or referenced by them in a staged order and investigate systems those credentials can access. No customer patch is required for the platform fix.
Identifiers: CVE-2026-139934
If you run Azure API Management on a Classic tier (Developer, Basic, Standard or Premium), treat every secret held in that instance as potentially exposed and rotate it. CVE-2026-139934 is an incorrect authorisation flaw that CISA added to its Known Exploited Vulnerabilities catalogue on 4 December 2026. Microsoft fixed the platform on 19 November and there is no patch for you to install, but the fix does not cancel credentials that may already have been read. The v2 tiers and the Consumption tier are not affected.
What to do first
The remedy here is not an update. Microsoft has already changed its platform, so the work left with you is to find your Classic instances, keep the logs, replace the secrets those instances hold and look at what those secrets could reach.
Start with the instances holding the most valuable credentials: backend service accounts, identity provider client secrets and anything that points at Key Vault. Do not rotate blindly. Updating a value in API Management does not revoke the old one at the system that issued it, and swapping a key before callers have moved across will break your own APIs.
- Today: list every API Management instance and note its tier. Only Developer, Basic, Standard and Premium (the Classic tiers) are in scope.
- Before changing anything: preserve the logs you have for those instances.
- Then: rotate credentials in the order described below, highest value first, and check what each credential could reach.
Current risk: who is affected and how bad it is
CVE-2026-139934 is an incorrect authorisation weakness (CWE-863) in Azure API Management. The NVD record scores it 9.8 (Critical): reachable over the network, no privileges, no user interaction. Per CISA's entry, an unauthenticated remote attacker could send crafted requests to Classic instances and carry out administrative actions, including managing secrets. Microsoft's own description is that the access could be used to read secrets from instances that were not configured to its recommended security practice.
The affected products are the Classic Developer, Basic, Standard and Premium tiers. Microsoft says the Classic Consumption tier and all v2 tiers are not affected.
Microsoft identified the problem on 18 November 2026 and, on 19 November, closed the unauthorised access path on Microsoft-hosted instances and rotated keys it controls. Microsoft says that remediation needs no customer action. The catch is that it does not invalidate customer credentials that were accessed beforehand. The material potentially exposed includes secrets in named values, identity provider and OpenID Connect client secrets, subscription keys, and tokens for the direct management APIs. Microsoft tracks the notification as MZK9-GH0 in Azure Service Health.
Exploitation is confirmed rather than theoretical. CISA added the flaw to the KEV catalogue on 4 December on evidence of active exploitation, and its catalogue entry lists 7 December 2026 as the action due date for US federal agencies. CISA's alert page itself shows no deadline, so treat the date as a marker of urgency rather than something that applies to a UK business. CISA lists ransomware use as unknown.
What is known about the attacks
Norway's National Security Authority (NSM) warned on 20 November that an unknown actor was going after access tokens, secrets and named values in API Management, and said several sectors in Norway and abroad were affected. NSM's advisory names Equinor and Skagerak Energi among the affected organisations. Both have said publicly that they found no evidence of data theft and no effect on energy delivery; Equinor reported its incident on 17 November, a day before Microsoft says it identified the flaw. These links come from NSM and from the organisations' own statements, and no independent technical write-up of the intrusions has been published.
Nobody has published how many instances were read, which secrets were taken, indicators of compromise or the actor's identity. NSM's advice is blunt: assume every secret and named value in the instance is compromised. Given that a quiet log does not prove an instance was untouched, that is a sensible default.
Find your Classic instances and check their status
This part is read-only. You need Reader access on the relevant subscriptions to list instances. To see Microsoft's notification and the resources it flags, you need a role that can read security advisories, such as Service Health Security reader, Subscription Owner or Contributor, or Security Admin at tenant level. Without one, the notification may be invisible to you and the person who holds the role should check it.
Service Health is the quickest pointer, but do not rely on it alone. Microsoft's criteria for what counts as an exposed instance are not spelled out in the sources we reviewed, so inventory every Classic instance regardless of whether it is flagged. NSM additionally suggests confirming that the gateway is running a patched runtime. Note that Microsoft says no customer action is needed for the fix and has not explained why NSM still advises this check, so use it as extra assurance, not as a reason to skip rotation.
- In the Azure portal, open Service Health, then Security Advisories, and look for tracking ID MZK9-GH0. Where it appears, open the Impacted Resources tab to see the subscriptions it lists.
- List your API Management instances and their tiers. Use the Azure CLI command shown below in each subscription, or Azure Resource Graph for a view across subscriptions. Anything showing Developer, Basic, Standard or Premium is in scope.
az apim list --query "[].{name:name, resourceGroup:resourceGroup, sku:sku.name}" --output table - For each Classic instance, request the status page NSM describes and read the RuntimeVersion value. Replace YOUR_GATEWAY_HOSTNAME with the instance's gateway hostname. This is a read-only request to your own gateway.
curl https://YOUR_GATEWAY_HOSTNAME/internal-status-0123456789abcdef - Compare the result with NSM's thresholds. On a 0.52.x runtime, patched means the last number is 31936 or higher. On 0.53.x it is 31938 or higher. Lower numbers are still vulnerable and the instance needs raising with Microsoft support. Version strings such as 0.53.4608.0 or 0.52.4150.0 indicate v2 or Consumption, which NSM says are not vulnerable.
Keep the evidence, then look for things you did not create
Preserve first, clean up second. Export or retain the API Management activity and audit logs, Key Vault access logs, and the sign-in and activity logs of the identity providers and backends whose credentials the instance holds. Cover the earliest period you have through to each rotation date. Activity after 19 November still counts, because the earlier fix does not undo anything already taken.
Then review the instance for anything unfamiliar. Microsoft's guidance recommends checking for subscriptions, users, policies and backends that you did not create. Also scan policies at global, API, operation and product level for hard-coded passwords, tokens, connection strings and authorisation headers, because those secrets are in scope for rotation even though nobody thinks of them as secrets. If you find unexplained changes or sign-ins from unfamiliar locations in downstream systems, treat it as an incident, preserve the evidence and bring in whoever handles incident response for you. NSM asks Norwegian organisations to contact it if they see signs of compromise.
Rotate the credentials without breaking production
Use the same order for every credential type: create the replacement at the system that issues it, update API Management, test your APIs, then revoke the old secret. Microsoft recommends trying the commands in a non-production instance first and keeping output that contains secrets, or full policy XML, out of logs and tickets. If you already rotated a credential after the Service Health notifications of 21 or 24 November, it does not need doing again.
Rotation can cause its own outage when callers are still using the old value, so the pairs of keys matter. Work through the types below.
- Subscription keys: move callers to the secondary key and confirm requests succeed. Regenerate the primary key, test it, move callers back to it and verify. Only then regenerate the secondary key.
- Named values: for Key Vault-backed values, store the new secret in Key Vault, update any version-pinned references and refresh the named value. For values stored in API Management, replace the stored value and consider moving it to Key Vault.
- Backend credentials (headers, query parameters, client certificates): stage the new credential at the backend, update API Management, then retire the old one. Updates need the current ETag.
- OAuth 2.0 and OpenID Connect client secrets: create a new secret on the app registration in Microsoft Entra ID, update the matching provider in API Management, republish the developer portal if it uses that configuration, and obtain a fresh token in the test console. Remove the old secret only after that works.
- Logger connection strings such as Event Hubs: switch the logger to the secondary connection string, confirm new events arrive and every consumer has moved, then renew the primary key.
- Credentials written directly into policies: create the replacement at its source, reference it through a Key Vault-backed named value, test, then revoke the old credential.
- Legacy management access keys: confirm callers have moved off each key before regenerating it.
- Secrets in Azure Key Vault that API Management references: rotate these too, since an attacker with admin access to the instance may have been able to read them.
Check what the stolen credentials could reach
Rotation closes the door; it does not tell you whether someone has already walked through it. For each credential that sat in an exposed instance, work out which system it opens and what it is allowed to do, then look at that system's own logs for use you do not recognise. A client secret for an identity provider, a database password in a policy and a storage key in a named value all point to different places, and the exposure depends on the permissions behind each one.
If your API Management instance fronts systems holding personal or customer data, record what could have been accessed so that, if the logs show misuse, you can make sound decisions about notification quickly. The scale of theft before 19 November is unknown, which is why the downstream check matters more than the instance itself.
What remains uncertain
Several points are still open. Microsoft has not published what makes an instance exposed, how many customers were affected or what the attacker actually read. NSM still advises runtime checks even though Microsoft says remediation required nothing from customers. Reports of one customer's account of the Microsoft notice and claims about a legacy API and Key Vault access have not been verified and should not drive decisions. We will update this note as Microsoft or CISA add detail.
Update history
We’ll keep this page updated as new information becomes available. Check back for the latest developments.
Initial update (5 December 2026): CISA added CVE-2026-139934 to the KEV catalogue on 4 December 2026 on evidence of active exploitation. The catalogue entry lists an action due date of 7 December 2026 for US federal agencies. Microsoft remediated the platform on 19 November 2026; customers still need to rotate credentials. Update source
Technical terms explained
- Classic tiers
- The original Azure API Management service tiers: Developer, Basic, Standard and Premium. They are separate from the v2 tiers and the Consumption tier.
- ETag
- A version marker returned with a resource. Some update calls in API Management need the current ETag so they do not overwrite someone else's change.
- incorrect authorisation
- A weakness where software fails to properly check whether a requester is allowed to perform an action, so someone without the right can do it anyway (CWE-863).
- KEV
- CISA's Known Exploited Vulnerabilities catalogue, a list of flaws with evidence of active exploitation.
- named values
- Reusable settings in API Management that policies can reference. They can hold secrets, either stored in the instance or linked to Azure Key Vault.
Sources and further reading
- CISA Known Exploited Vulnerabilities Catalog
- CISA alert: CISA Adds Three Known Exploited Vulnerabilities to Catalog (4 December 2026)
- NVD record: CVE-2026-139934
- Microsoft Security Update Guide: CVE-2026-139934
- Microsoft Tech Community: Rotating credentials in Azure API Management
- Microsoft Learn: Impacted resources from Azure security advisories
- NSM: tiltak mot sårbarhet i Azure API Management
- BleepingComputer: Microsoft Azure flaw exploited to steal customers' API credentials
- SecurityWeek: Azure flaw exploited to target secrets at Norwegian energy firms
- Cybersecurity Dive: Microsoft remediates Azure flaw following attacks against Norwegian energy companies