Azure API Management Auth Bypass Exploited (CVE-2026-139934)
An unauthenticated authorization flaw in Azure API Management Classic tiers lets an attacker run admin operations and reach secrets; CISA says it is exploited.
TL;DR
- An incorrect authorization check in Azure API Management Classic tiers lets an unauthenticated network caller perform administrative operations, including secrets management. CVE-2026-139934 is CVSS v3.1 9.8 Critical.
- Every Classic-tier instance that existed before 2026-11-19 is in scope. The v2 and Consumption tiers are not affected.
- Microsoft marks the flaw exploited and CISA added it to the Known Exploited Vulnerabilities catalog on 2026-12-04, with a due date of 2026-12-07. No actor or indicator is public.
- Microsoft fixed the platform on 2026-11-19, but the fix does not invalidate exposed credentials. "How do I fix it?" lists the secrets to rotate and the order to rotate them.
Am I affected?
You are affected if you run an Azure API Management instance on a Classic tier and its credentials were reachable before Microsoft remediated the platform issue on 2026-11-19. All of these must hold:
- The instance is on the Developer, Basic, Standard or Premium tier, which Microsoft calls the Classic tiers.
- The instance existed before 2026-11-19, when Microsoft says it remediated the platform issue.
- An attacker could send requests to the instance over the network during that window.
- The credentials and secrets the instance holds have not been rotated since the 2026-11-21 or 2026-11-24 Service Health notification.
The flaw is in the API Management service, not in the APIs you publish through it. A v2 or Consumption instance is outside the affected tiers, because Microsoft says those tiers are not affected. An instance created after 2026-11-19 was never exposed to the authorization path Microsoft fixed, but any secret copied into it from an older instance still needs rotation.
| Tier | Affected before 2026-11-19 | Platform fix | Customer action |
|---|---|---|---|
| Developer (Classic) | Yes | Remediated 2026-11-19 | Review Service Health MZK9-GH0; rotate APIM and Key Vault secrets |
| Basic (Classic) | Yes | Remediated 2026-11-19 | Review Service Health MZK9-GH0; rotate APIM and Key Vault secrets |
| Standard (Classic) | Yes | Remediated 2026-11-19 | Review Service Health MZK9-GH0; rotate APIM and Key Vault secrets |
| Premium (Classic) | Yes | Remediated 2026-11-19 | Review Service Health MZK9-GH0; rotate APIM and Key Vault secrets |
| v2 | No | Not affected | None for this CVE |
| Consumption | No | Not affected | None for this CVE |
List the API Management instances in one subscription with the Azure CLI:
az apim list --subscription <subscription-id> \
--query "[].{name:name, resourceGroup:resourceGroup}" --output table
Read the tier of each instance:
az apim show --name <apim-name> --resource-group <resource-group> \
--query "{sku:sku.name, provisioningState:provisioningState}" --output table
To find instances across the subscriptions you can read, query Azure Resource Graph:
az graph query -q "resources | where type =~ 'microsoft.apimanagement/service' | project name, resourceGroup, subscriptionId, location" --output table
The commands are adapted from Microsoft's credential rotation guide. A Classic instance with no traffic and no stored secrets still needs the Service Health review, because the attacker could have changed its configuration.
How do I fix it?
There is no customer-installable patch. Microsoft fixed the service on 2026-11-19. The remaining work is to rotate every credential the instance held and to investigate what it could reach. Do the steps in this order.
- Open Azure Service Health and read the notification with tracking ID MZK9-GH0, sent on 2026-11-21 and updated on 2026-11-24. It carries Microsoft's exposure criteria and the impacted-resource view for your subscriptions.
- Treat every Classic instance as exposed unless the notification and the impacted-resource list say otherwise.
- Inventory every credential in each instance:
- Subscription keys.
- Named values that contain secrets.
- Backend credentials: headers, query parameters and client certificates.
- OAuth 2.0 and OpenID Connect client secrets.
- Connection strings for loggers such as Event Hubs.
- Credentials written directly into policies.
- Create the replacement credential at the issuer, such as the backend service, the identity provider or Azure Key Vault.
- Write the replacement into API Management and test the APIs that use it.
- Revoke the old credential at the issuer.
- Investigate unexpected activity on every system and service the old credential could reach.
Updating the value in API Management does not revoke the old credential at its issuer. If you skip the revoke step, the exposed secret stays valid. Microsoft's guide lists the credential locations and the CLI calls that read them, including az apim nv list for named values and az rest calls for backends, authorization servers and OpenID Connect providers.
Microsoft says credentials and secrets already rotated after the first notification on 2026-11-21 or the second on 2026-11-24 do not need to be rotated again. Keep the evidence of that rotation.
If you cannot rotate a credential yet, disable the dependent API or remove the credential from the instance until you can. Blocking network access to the API gateway does not undo an exposure that happened before 2026-11-19, and it does not revoke a secret that a backend still accepts.
What is the root cause?
The flaw is an incorrect authorization check in the Azure API Management Classic control plane, classified CWE-863, incorrect authorization. Microsoft has not published the request, the endpoint or the code path, so the exact check that failed is not public.
Microsoft describes the flaw in one sentence: "Incorrect authorization in Azure API Management allows an unauthorized attacker to elevate privileges over a network." The FAQ adds the outcome. A crafted request could "perform administrative operations, including secrets management, against Azure API Management services."
The CVSS v3.1 vector, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C, fixes the properties of the bug. The attacker reaches it over the network (AV:N) with no privileges (PR:N) and no user interaction (UI:N).
Confidentiality, integrity and availability are all high (C:H/I:H/A:H). The temporal score is 9.1 because the exploit maturity is functional (E:F) and an official fix is available (RL:O).
An incorrect authorization check means a request that should require an authenticated administrator was accepted without one. Here the accepted operations included secrets management. The attacker could have read or replaced a secret before 2026-11-19. The old secret remains valid until its issuer revokes it.
This is not a flaw in the authorization you write for your own APIs. It is a flaw in the service's own administrative plane. Microsoft says the issue was not publicly disclosed, and it attributes no finder.
How is it exploited?
The public record establishes the preconditions and the result, not the request itself. The numbered steps follow the Microsoft advisory and the CISA description.
- The attacker identifies an Azure API Management instance on a Classic tier that is reachable over the network.
- The attacker sends a crafted request to the instance. The request targets an administrative operation that should require an authenticated administrator.
- The authorization check does not reject the request, so the operation runs.
- The attacker performs administrative operations, including reading or changing secrets.
- The attacker uses the secrets against the systems they unlock, such as backends, Key Vault, event hubs or identity providers.
Microsoft does not publish a proof of concept, a request template or the affected endpoint. It says the flaw was not publicly disclosed. The exploitation evidence is Microsoft's "Exploitation Detected" rating and the CISA KEV listing.
The timing matters. Microsoft remediated the platform issue on 2026-11-19, so the request path is closed now. What remains open is any credential the attacker obtained before that date. Rotation is the step that closes the second half of the attack.
How does the attack flow?
An unauthenticated request reaches an administrative operation on a Classic-tier instance. The authorization check fails to reject it. The attacker leaves with credentials that stay valid until their issuer revokes them.
What can an attacker do?
An unauthenticated network attacker can perform administrative operations on an affected API Management instance, including secrets management, with high impact on confidentiality, integrity and availability. The advisory does not name the individual operations, so the impact is bounded by what an APIM administrator can do and by what the stored credentials unlock.
The conditions for the impact are:
- The instance is on a Classic tier and existed before 2026-11-19.
- The attacker could reach the instance over the network during the exposure window.
- The instance held credentials or secrets that its issuer has not revoked.
- The attacker's requests reached an administrative operation covered by the flawed check.
An APIM instance holds several kinds of credential:
- Subscription keys.
- Named values.
- Backend credentials.
- OAuth and OpenID Connect client secrets.
- Connection strings.
- Policy-embedded credentials.
An attacker who can manage those credentials can call the backends. The attacker can read from or write to Key Vault where the instance has access. The same credentials let the attacker act as the instance toward identity providers and event hubs.
Microsoft does not report code execution on its platform, and no source describes a chain beyond the credentials. The impact is control of the instance and of the credentials it holds, not code execution on an Azure host. The CVSS vector records total technical impact, but it does not name a victim count or an actor.
Why does the fix work?
Microsoft's fix is a server-side change to the API Management platform on 2026-11-19, not a package customers install. It closes the authorization path that accepted the unauthenticated administrative request, so a new attempt after that date should be rejected.
The fix is not complete on its own. Microsoft says the remediation "does not invalidate previously exposed credentials." A credential read before 2026-11-19 remains valid at its issuer until someone rotates or revokes it. That is why Microsoft's customer action is rotation and investigation, and why the CISA due date is 2026-12-07.
Without a patch artifact, the completeness of the server-side change cannot be verified independently. The safe reading is Microsoft's: the platform issue is remediated, the v2 and Consumption tiers were not affected, and exposed Classic-tier credentials must be treated as compromised.
How do I check if I was compromised?
Microsoft publishes no indicators of compromise, no attacker infrastructure and no request pattern. It asks customers to investigate unexpected activity on the systems and services the exposed credentials grant access to. Treat these checks as a minimum.
- Open Azure Service Health and confirm whether your subscriptions appear in the impacted-resource view for tracking ID MZK9-GH0.
- Review each Classic instance for unexpected changes to APIs, backends, named values, subscription keys, authorization servers, OpenID Connect providers and loggers.
- Review Azure Key Vault access logs for reads of secrets that the API Management instance references, especially before 2026-11-19.
- Review the backend, event hub and identity provider logs for calls made with the instance's credentials that you did not expect.
- Check for new subscription keys or re-keyed subscriptions you did not perform.
An attempt that only read a secret may leave no trace in API Management, because reading a secret does not change the instance configuration. Absence of a configuration change is not evidence that nothing happened. Preserve the logs before they age out, and rotate the credentials even if the review finds nothing.
Timeline
- 2026-11-19: Microsoft remediated the API Management platform issue.
- 2026-11-21: Microsoft sent the first Azure Service Health notification, tracking ID MZK9-GH0.
- 2026-11-24: Microsoft updated the notification with exposure criteria and recommended actions.
- 2026-12-03: Microsoft published CVE-2026-139934 in the Security Update Guide.
- 2026-12-04: CISA added CVE-2026-139934 to the Known Exploited Vulnerabilities catalog, with a due date of 2026-12-07.
- 2026-12-07: Federal remediation and forensic triage deadline under BOD 26-04.
FAQ
Is CVE-2026-139934 exploited in the wild?
Yes. Microsoft rates the flaw "Exploitation Detected" in its Security Update Guide, and CISA added it to the Known Exploited Vulnerabilities catalog on 2026-12-04. No actor, victim count or indicator has been published.
Which API Management tiers are affected?
The Classic Developer, Basic, Standard and Premium tiers are affected. Microsoft says the v2 and Consumption tiers are not affected. A Classic instance created after 2026-11-19 was not exposed to the fixed authorization path, but any secret it inherited from an older instance still needs rotation.
Is there a patch I can install?
No. Microsoft remediated the platform issue on 2026-11-19 and lists no downloadable security update. The customer action is to review Service Health, rotate the credentials and secrets the instance holds, and investigate what those credentials could reach.
Do I need to rotate again if I already rotated in November?
No, if you rotated the credentials after the first notification on 2026-11-21 or the second on 2026-11-24. Microsoft says those credentials do not need to be rotated again. Keep the evidence of the rotation.
Is there a public proof of concept?
No. Microsoft says the flaw was not publicly disclosed, and no proof of concept, request template or indicator is public. The exploitation evidence is Microsoft's rating and the CISA KEV listing.
Does this affect the authorization in my own APIs?
No. The flaw is in the API Management service's administrative authorization, not in the authorization you implement in your APIs. Your APIs can still have their own access-control bugs, but this CVE does not describe one.
References
- Microsoft, "Azure API Management Elevation of Privilege Vulnerability", CVE-2026-139934, Security Update Guide, published 2026-12-03 (checked December 5, 2026): https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-139934
- CVE Program, "CVE-2026-139934" record, published 2026-12-03 (checked December 5, 2026): https://www.cve.org/CVERecord?id=CVE-2026-139934
- CISA, Known Exploited Vulnerabilities catalog, CVE-2026-139934 added 2026-12-04, due 2026-12-07 (checked December 5, 2026): https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- Microsoft, "Rotating credentials in Azure API Management", published 2026-11-21 (checked December 5, 2026): https://techcommunity.microsoft.com/blog/integrationsonazureblog/rotating-credentials-in-azure-api-management/4575478
- Microsoft, "View impacted resources for security advisories on the Service Health portal" (checked December 5, 2026): https://learn.microsoft.com/en-us/azure/service-health/impacted-resources-security
- CISA, "BOD 26-04: Prioritizing Security Updates Based on Risk" (checked December 5, 2026): https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- CISA, "BOD 26-04 Implementation Guidance: Prioritizing Security Updates Based on Risk" (checked December 5, 2026): https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
Keep reading
