Vulnerability · Azure API Management · updated

CVE-2026-139934: unauthenticated privilege elevation in Azure API Management (CVSS 9.8)

Microsoft has disclosed CVE-2026-139934, an incorrect authorization flaw in Azure API Management. An attacker with no account can elevate privileges over the network. Microsoft rates it 9.8 out of 10.

FixNot yet
ExploitationNone reported
Public exploit codeNot public
CISA KEVNot listed
Severity9.8 (CVSS 3.1, Microsoft as CNA)

Quick answers

What is CVE-2026-139934?

CVE-2026-139934 (CVE-2026-139934) is a vulnerability in Azure API Management. Microsoft has disclosed CVE-2026-139934, an incorrect authorization flaw in Azure API Management. An attacker with no account can elevate privileges over the network. Microsoft rates it 9.8 out of 10.

Am I affected by CVE-2026-139934?

CVE-2026-139934 affects Azure API Management, according to Microsoft's advisory published on 2026-12-04. It is an incorrect authorization flaw that lets an unauthenticated attacker elevate privileges over a network, rated CVSS 3.1 9.8 by Microsoft. Microsoft has not yet published, in the information available to us, which tiers, gateway types or versions are affected, or whether customers must take action. Any organisation running Azure API Management should treat itself as potentially affected until Microsoft says otherwise.

Which versions fix CVE-2026-139934?

Azure API Management: Not published yet (no fixed version or service-side mitigation statement in the material we have)

Is CVE-2026-139934 being exploited?

No exploitation in the wild has been reported; it is not in the CISA KEV catalog.

Is there a workaround for CVE-2026-139934?

Microsoft has not published a workaround or mitigation for CVE-2026-139934 (Azure API Management incorrect authorization, CVSS 9.8) in the information available to us on 2026-12-04. It is also not yet published whether Microsoft fixes this on the service side or whether Azure API Management customers must take action. Watch the MSRC advisory and Azure Service Health for your subscriptions. Until Microsoft publishes guidance, the general way to reduce exposure for Azure API Management is to limit who can reach it over the network. Where your design allows, restrict public network access, place instances behind a WAF or Application Gateway, and limit access to the developer portal and management endpoints. This is general hardening, not vendor guidance for CVE-2026-139934, and it may not block this specific flaw. Make any network changes through your normal change process and test them first. The command below is read-only and helps you pick which instances to look at first.

What this means for your business

An unauthenticated attacker can reach the flaw over the network, with no user interaction (per the CVSS 3.1 vector from Microsoft).

Successful abuse can mean high impact on confidentiality, integrity and availability, so the APIs and backends behind API Management could be exposed or changed.

No public exploit code and no known exploitation are listed as of 2026-12-04.

Microsoft has not yet published, in the material we have, whether you need to act or whether the fix is applied on the service side.

Is this about you? CVE-2026-139934 affects Azure API Management, according to Microsoft's advisory published on 2026-12-04. It is an incorrect authorization flaw that lets an unauthenticated attacker elevate privileges over a network, rated CVSS 3.1 9.8 by Microsoft. Microsoft has not yet published, in the information available to us, which tiers, gateway types or versions are affected, or whether customers must take action. Any organisation running Azure API Management should treat itself as potentially affected until Microsoft says otherwise.

Ask your team or provider:

How fast: Inventory your API Management instances today. Microsoft has not published required customer steps yet. Once it does, apply them within 24 to 48 hours given the 9.8 score and no-login attack path.

Not sure if you are exposed?

We check your servers and containers with read-only access, tell you what is exposed, and patch it in a window you approve.

For engineers

LineAffectedFixed in
Azure API ManagementNot published yet (affected tiers, gateway types and versions are not in the material we have)Not published yet (no fixed version or service-side mitigation statement in the material we have)

The CVE record names Azure API Management only. The MSRC page did not render in our capture, so we could not confirm affected tiers, whether the self-hosted gateway is in scope, or whether Microsoft has already fixed the managed service. Check the MSRC advisory directly before acting.

When it can be exploited

Check if you are affected

az graph query -q "resources | where type =~ 'microsoft.apimanagement/service' | project name, resourceGroup, subscriptionId, sku=sku.name, vnetType=properties.virtualNetworkType, publicNetworkAccess=properties.publicNetworkAccess, gatewayUrl=properties.gatewayUrl" -o table

This read-only Azure Resource Graph query lists every API Management instance you can see across subscriptions, with tier, network mode and public access. It needs the resource-graph extension (az extension add --name resource-graph installs it, which changes your local CLI only). If you run the self-hosted gateway on Kubernetes, kubectl get pods -A -o jsonpath='{range .items[*]}{.metadata.namespace}{"\t"}{.metadata.name}{"\t"}{.spec.containers[*].image}{"\n"}{end}' | grep -i api-management lists those pods and image tags read-only. Microsoft has not said whether the self-hosted gateway is affected; record the tags so you can compare once it does.

If you can't upgrade today

Microsoft has not published a workaround or mitigation for CVE-2026-139934 (Azure API Management incorrect authorization, CVSS 9.8) in the information available to us on 2026-12-04. It is also not yet published whether Microsoft fixes this on the service side or whether Azure API Management customers must take action. Watch the MSRC advisory and Azure Service Health for your subscriptions. Until Microsoft publishes guidance, the general way to reduce exposure for Azure API Management is to limit who can reach it over the network. Where your design allows, restrict public network access, place instances behind a WAF or Application Gateway, and limit access to the developer portal and management endpoints. This is general hardening, not vendor guidance for CVE-2026-139934, and it may not block this specific flaw. Make any network changes through your normal change process and test them first. The command below is read-only and helps you pick which instances to look at first.

az apim list --query "[].{name:name, rg:resourceGroup, sku:sku.name, publicNetworkAccess:publicNetworkAccess, vnetType:virtualNetworkType, portal:developerPortalUrl}" -o table

Signs you were already hit

Microsoft has not published indicators of compromise for CVE-2026-139934. As a starting point, review the Azure Activity Log for unexpected write or delete operations on Microsoft.ApiManagement resources, for example: az monitor activity-log list --resource-group <rg> --offset 30d --query "[?contains(operationName.value, 'Microsoft.ApiManagement')].{time:eventTimestamp, op:operationName.value, caller:caller, status:status.value}" -o table (read-only). Look for new or changed subscriptions and keys, users, policies, named values, backends and APIs that nobody on your team made. If you send API Management diagnostics to Log Analytics, also check gateway logs for unusual callers or spikes in access to admin-type operations. If you find anything unexplained, rotate affected keys and secrets and contact Microsoft support.

Prompt for your coding agent

Paste this into Claude Code, Codex or Cursor, opened in the repository that holds your server and deployment configuration. It only reads and proposes changes; review the diff before you apply it.

You are helping assess exposure to CVE-2026-139934, an incorrect authorization flaw in Azure API Management that lets an unauthenticated attacker elevate privileges over the network (CVSS 3.1 9.8, Microsoft). Microsoft has not published affected versions, fixed versions or a workaround in the information we have. Do not apply changes, deploy, run terraform apply, az create/update/delete commands, or restart anything. Only read files and propose a diff for human review.

Tasks:
1. Search this repository for Azure API Management definitions: Bicep and ARM (`Microsoft.ApiManagement/service`), Terraform (`azurerm_api_management*`), Pulumi, and pipeline scripts that call `az apim`.
2. For each instance, list name, environment, SKU, `publicNetworkAccess`, `virtualNetworkType`, developer portal settings, and any IP restriction or WAF in front of it.
3. Search for API Management self-hosted gateway deployments (Kubernetes manifests, Helm values, docker-compose) and list image names and tags. Note that Microsoft has not said whether the self-hosted gateway is affected.
4. Check whether diagnostic settings send API Management logs and Activity Logs to Log Analytics, and note retention.
5. Write a short report: instances found, which are internet facing, logging gaps.
6. Propose, as a diff only, changes that reduce network exposure (for example restricting public access or adding diagnostic settings), clearly marked as general hardening and not a vendor fix. Do not commit or apply it.
If you are unsure about something, say so rather than guessing.

Timeline

  1. Microsoft publishes CVE-2026-139934 for Azure API Management, rated CVSS 3.1 9.8 by the CNA.

  2. No KEV listing, no public proof-of-concept repositories and no known exploitation in the data we checked.

  3. CVE record last modified.

Sources

Checked 4 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.