Act nowPlatform changes

Azure API Management Classic: the flaw that exposed secrets is now CVE-2026-139934 and listed as exploited; if you were exposed, rotate your secrets

On 23 November 2026 Microsoft said an unauthorized party could have read secrets stored in Azure API Management (APIM) Classic instances, and that it closed the access on 19 November. Norway's security authority says an unknown actor went after access tokens and secrets and tells customers to assume all of them are exposed. Microsoft says its fix does not invalidate credentials taken earlier. Here is who is affected, how to check your version and what to rotate.

Updated 5 Dec 2026: see what changed

How urgent

Act now

Who is affected

Anyone who runs Azure API Management Classic in the Developer, Basic, Standard or Premium tiers, especially instances not set up to Microsoft's recommended practices. The Consumption tier of Classic and all v2 tiers are not affected, according to Microsoft. Whatever sits behind the instance (backends, identity providers, Key Vault secrets) is at risk if its secrets were stored in APIM.

What to do

Check your gateway's runtime version against Norway's NSM thresholds; treat every secret, named value, identity-provider and OpenID Connect client secret, subscription key and management token held in APIM as exposed and rotate it; check what sits behind each instance; read your logs for unexpected use of those credentials; contact your provider if your instance is not updated

Published 24 Nov 2026 · Sources last checked 5 Dec 2026No. 120 / 168

Updates, follow-ups and corrections

  1. Update · 5 Dec 2026. Microsoft gave the flaw a number, CVE-2026-139934 (critical, 9.8, exploitation detected), and CISA added it to its exploited list on 4 December. Microsoft says exposed instances must rotate secrets in APIM and referenced Key Vault secrets

We keep the original text. When something changes, when we follow a story, or when we get something wrong, we add a dated note here instead of editing silently.

Watch the short video

The video loads from YouTube (privacy-enhanced mode) only when you press play.

Update, 5 December: it has a CVE and it is listed as exploited

On 3 December Microsoft published CVE-2026-139934 for this problem. It rates it critical (CVSSCVSS score A number from 0 to 10 that rates how serious a flaw is in general. From 9.0 up it is called Critical. Tap again to open the glossary 9.8) and marks it as exploitation detected. According to Microsoft, someone with no account could send specially crafted requests over the network to an affected instance and perform administrative operations, including managing secretsSecret (API key, token, password) Any piece of text that proves to a service that you are allowed in, such as an API key, a database password or an access token. Tap again to open the glossary.

On 4 December CISA added it to its catalog of known exploited vulnerabilitiesVulnerability A weakness in software, a setting or a process that an attacker could use to get in or do harm. Tap again to open the glossary, with a 7 December deadline for US federal agencies. CISA says it does not know whether it has been used in ransomwareRansomware Malicious software that locks your files or systems, and often steals a copy first, then demands payment. Tap again to open the glossary campaigns.

What Microsoft now asks customers of Classic Developer, Basic, Standard or Premium to do:

  1. In Azure Service Health, read the notice of 24 November (tracking ID MZK9-GH0), which has the criteria to tell whether you were exposed.
  2. For exposed instances, rotate the credentials and secrets stored in APIM, and the Azure Key Vault secrets that APIM references.
  3. Investigate unexpected activity on the systems and services those secrets give access to.

Microsoft says that secrets you already rotated after the first or second Service Health notice do not need to be rotated again. It says it fixed the platform on 19 November, that this does not cancel secrets already exposed, and that the v2 and Consumption tiers are not affected.

What happened

Azure API Management (APIM) is the service many teams use as the front door to their APIs. Microsoft published a security advisory (tracking ID MZK9-GH0, in Azure Service Health) saying that in APIM Classic instances that were not set up to recommended practices, an unauthorized party could reach management functions and read secrets. Microsoft says it identified the problem on 18 November 2026 and had closed the access path in Microsoft-hosted instances on 19 November, with no action needed from customers for that fix.

Norway's National Security Authority (NSM) published its own notice on 20 November (updated 23 November). It says an unknown actor has actively targeted access tokens, secrets and named values in APIM, that several Norwegian organisations are affected, and that organisations in other countries and sectors are affected too. Its page names Equinor and Skagerak Energi.

What was exposed

According to Microsoft's advisory as quoted by BleepingComputer: secrets in Named Values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens used for direct management API calls. Microsoft says the Consumption tier of Classic and all v2 tiers are not affected.

The part that matters most

Microsoft says its fix does not automatically invalidate credentials that may have been taken before the fix. So closing the hole is not enough: a secret copied last week still works today. The NSM tells organisations to assume all secrets and named values are compromised and to rotate all tokens and secrets.

Is it being exploited?

Partly confirmed. The NSM says an unknown actor has actively targeted APIM secrets, and says it is still unclear how widely. Microsoft's wording is that an unauthorized party could have used the issue. Neither names a group. The NSM says it has no evidence so far that any compromise has hit deliveries at Norwegian organisations.

What the two companies themselves say: Equinor reported an attack on 17 November, said on 19 November that it did not appear to target Equinor specifically, and on 20 November that it had been stopped, with no sign that data was stolen or changed. Skagerak Energi reports an attempted attack with no effect on operations and no sign that information got out. Neither company's page mentions Azure or APIM: that link comes from the NSM.

Who needs to act

If you run APIM Classic (Developer, Basic, Standard or Premium), especially with secrets stored directly as named values, this is for you. If you use only the Consumption tier or a v2 tier, Microsoft says you are not affected. If you do not use APIM, there is nothing to do.

What to do

  1. Check your runtime version. Open https://<your-gateway-hostname>/internal-status-0123456789abcdef and read RuntimeVersion. The NSM says a 0.52.x version is patched if its last number is 31936 or higher, and a 0.53.x version if it is 31938 or higher; lower numbers are still vulnerable. V2 and Consumption instances show other patterns and are not affected. If your instance is not updated, contact your provider.
  2. Rotate what APIM holds: named values that are secrets, identity-provider and OpenID Connect client secrets, subscription keys and management tokens. Do not rely on Microsoft's fix to make old ones stop working.
  3. Map what sits behind each instance (backends, identity providers, vaults), so you know the reach if you find signs of compromise.
  4. Read your logs for use of those credentials you do not recognise, over the period before 19 November.
  5. If you see signs of compromise, the NSM asks to be contacted ([email protected]).

Optional, from an independent write-up (not from Microsoft or the NSM, and not tested on a real instance): also rotate app-registration secrets, Key Vault secrets referenced by APIM and the instance's tenant access keys; check the instance setting that enables the old Management REST API and turn it off if you do not use it; and review who can sign up on an old developer portal. Treat these as ideas to check, not as confirmed fixes for this flaw.

What we do not know

  • The technical detail. Microsoft classes it as incorrect authorization (CVE-2026-139934, published on 3 December, after our first version) but does not explain how it worked. A post on Reddit that BleepingComputer links claims a zero-dayZero-day A flaw that attackers are already using, or that is public, before the maker has released a fix. Tap again to open the glossary in an old legacy API that left no logs; the outlet says it has not verified it, and neither do we.
  • Who is behind it and how many organisations were hit.
  • Why the NSM still tells customers to check their version if Microsoft says hosted instances were fixed on 19 November without action.
  • Whether the attack on Equinor and Skagerak was done with this flaw. The NSM links them; the companies do not mention it.

What we could not confirm

We read the NSM notice, the Equinor and Skagerak statements, BleepingComputer and an independent write-up on 24 November 2026. On 5 December we read Microsoft's CVECVE A public ID number, like CVE-2026-12345, given to one specific security flaw so everyone can talk about the same bug. Tap again to open the glossary page and the CISA entry. We still have not read Microsoft's notice MZK9-GH0 itself, which sits in Azure Service Health and which none of those pages links: what we say about it is as quoted by BleepingComputer. We did not test any APIM instance. The version thresholds are the NSM's.

Keep reading

More stories on the same topic or from the same area.

Comments

No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.

    We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.

    Sources and verification

    We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.

    Spotted a mistake? Email [email protected] and we will correct it and note the change.

    Newsletter · every Friday · free

    Get the weekly security briefing

    One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

    Subscribe for free

    Press / to search from any page