Microsoft fixed Azure API Management two weeks ago. Secrets read before the fix still work today (CVE-2026-139934).

5 min read

How to fix CVE-2026-139934: rotate Azure API Management Classic secrets, and rotate the Key Vault secrets the instance references. On November 19, Microsoft patched this issue. The patch doesn't revoke previously obtained named values, client secrets, subscription keys, and management tokens.

On this page

CISA added CVE-2026-139934 to its list of exploited flaws on December 4, 2026, with a December 7 deadline for federal agencies. The problem lies in Microsoft's Azure API Management which is the service that is in front of your company API and where they hold the keys and passwords that are used by the API. In the Classic tiers of that service, a check on who is allowed to do what was missing. A stranger with no account could send crafted requests over the network and run administrative operations the service should never have allowed. It goes deeper into secrets management (the place where the credentials are saved) for those operations.

Microsoft scores the flaw 9.8 out of 10 and classifies it as incorrect authorization.

Fixed on the platform, open in your secrets

Microsoft says it found the flaw on November 18 and closed the access path on November 19. There's no patch for a customer to install, because Microsoft fixed its own platform. The comfort ends there.

A fix on the platform stops new readers. It does nothing to a secret that was already copied out before November 19. A named value marked secret stays valid until its owner changes it. Client secret for an IdP is also valid. Subscription key, backend credential and management API token are also valid.

Microsoft told affected customers the same thing in a private notice, and the exposed list it gave runs to exactly those items. The notice sits in Azure Service Health under tracking ID MZK9-GH0, first sent on November 21 and updated on November 24.

Norway saw it first

And Norway was first to see them. The National Security Authority of the country reported on November 20, with an update on November 23, that someone (unknown) is aggressively tracking access tokens, secrets and named values of the service. Specifically the energy companies Equinor and Skagerak Energi were mentioned by the authority as affected, as well as other organisations from other industries and other countries. Both energy companies said their operations and deliveries were not affected, and neither reported stolen data.

That gap is the whole problem: a copied secret leaves no mark at the moment It's taken, so a clean incident report in November says nothing about who can still walk in with it.

Who is not in scope

The flaw reaches the Classic tiers only: Developer, Basic, Standard and Premium. It doesn't apply to instances on the v2 tiers. Or the Consumption tier. This is not a flaw in your own API code, and nothing in this story is fixed by changing an application. No doors were left open by customers. It was missing from the platform.

Checks to run now

Open Azure Service Health and read the notice under tracking ID MZK9-GH0; its impacted resources view names the instances Microsoft counts as exposed. Norway published a second check you can run yourself: open your gateway address with /internal-status-0123456789abcdef on the end and read the RuntimeVersion line. Fixed builds start at 31936 on the 0.52 line and at 31938 on the 0.53 line. With lower build number it means it's still waiting for work. Norway advises those owners to contact their vendor.

How to fix

Rotate all the instance secrets (secret named values, subscription keys, backend credentials, identity provider/OpenID Connect client secrets). And then refresh the secrets in Azure Key Vault that the instance is pointing to (since anything that the gateway can read is something that the vulnerability can get to).

Rotate in the order that keeps your callers working: issue the new key, move the callers to it, then retire the old one. After the rotation, look for use you Don't recognise on the systems and services those credentials open. This step exists to find traces like a stolen subscription key used once in January.

HOL's assessment

Most cloud flaws end with a version number to reach. This one ends with an inventory: every secret that sat in a Classic instance during the window before November 19 has to be treated as read until It's replaced. The window is the story, not the patch. Microsoft closed the hole in one day. The CVE, the exploited listing and the deadline arrived more than two weeks later.

Anyone who keeps a list of what their gateways hold can finish this work today. Anyone who does not has to build that list first, under a deadline that lands on Monday.

Where to download Guard

The data record for this issue can be found at the HOL Guard evidence page for CVE-2026-139934 with its data sources. Guard is free and opensource. Guard Desktop downloads from https://hol.org/guard/install for macOS 13+ on Apple silicon, Windows x64 and Linux x86_64, and the download needs no terminal. The same page has a one line terminal installation as well. After installing, run hol-guard doctor. It confirms the daemon is running and the intercept layer is active.

Sources

CISA alert, CISA adds three known exploited vulnerabilities to the catalog, December 4, 2026.

Microsoft Security Update Guide, CVE-2026-139934, Azure API Management elevation of privilege, December 3, 2026.

Norwegian National Security Authority, measures against the Azure API Management vulnerability, November 20, 2026, updated November 23, 2026.

Is there a patch I need to install for CVE-2026-139934?

No. Microsoft fixed the platform itself on November 19, 2026, and There's no downloadable update. So, customers just need to rotate. You swap out the secrets that a Classic instance was using and their referencing secrets from the Key Vault.

Which Azure API Management tiers are affected?

The Classic tiers: Developer, Basic, Standard and Premium. This does not change anything for v2 tiers or the Consumption tier.

Was my instance exposed?

Open Azure Service Health and read the notice under tracking ID MZK9-GH0; its impacted resources view names exposed instances. You can also read the RuntimeVersion line at the /internal-status-0123456789abcdef path on your gateway: fixed builds start at 31936 on the 0.52 line and 31938 on the 0.53 line.

All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.