Skip to content

Using Azure API Management? Attackers Stole Stored Keys, and Microsoft's Fix Does Not Revoke Them

Short answer

An exploited Azure API Management Classic flaw exposed stored keys and secrets. Microsoft's fix does not revoke them: rotate APIM and Key Vault secrets today.

Origami Team

Editorial Team · · 6 min read

Share on WhatsApp
Like what we publish? Pin Origami as a preferred source on Google.Add as a preferred source on Google
Using Azure API Management? Attackers Stole Stored Keys, and Microsoft's Fix Does Not Revoke Them

If your company connects its apps, website, payment provider or partners through Azure API Management (APIM) on a Classic tier (Developer, Basic, Standard or Premium), change the keys and passwords stored in it this week. Microsoft says attackers exploited a flaw that let them, with no account, run administrative operations on APIM instances, including reading stored secrets. Microsoft closed the hole on its side on 19 November 2026, but that fix does not cancel any key that was already taken. On 3 December Microsoft rated the flaw 9.8 out of 10, and on 4 December the US cyber agency CISA added it to its list of actively exploited flaws. The v2 tiers and the Consumption tier are not affected.

What happened exactly?

API Management is the gateway many companies place in front of their systems: it receives requests from the mobile app, the online store or a partner, checks the key, then passes the request to the right backend system. To do that it stores keys and passwords for those systems. That is why this flaw is serious: whoever controls the gateway can read the credentials of everything behind it.

  • The flaw (CVE-2026-139934): an incorrect authorization check that lets an attacker send specially crafted requests over the network to an affected instance and perform administrative operations, including secrets management, according to Microsoft's advisory.
  • The timeline: Microsoft found the issue on 18 November, fixed the platform on 19 November, and alerted affected customers through Azure Service Health on 21 and 24 November under tracking ID MZK9-GH0.
  • Real attacks: Norway's National Security Authority (NSM) linked the flaw to attacks on 2 Norwegian energy companies, Equinor and Skagerak Energi, and said organizations in other countries and sectors were also affected.

Because APIM is a cloud service, there is no update for you to download. The remaining work is on your side: replacing credentials that may have leaked.

Is your company affected?

  • Affected: APIM Classic on the Developer, Basic, Standard or Premium tier.
  • Not affected: all APIM v2 tiers and the Consumption tier, according to Microsoft.
  • How to check: in the Azure portal, open each API Management instance and look at its pricing tier. Then open Service Health, go to Security advisories and look for MZK9-GH0: the portal lists the impacted resources in your subscriptions.

If you do not use Azure yourself, ask your software vendor or IT provider directly whether your app or store runs through APIM Classic.

How to fix it

  1. Read the Service Health notice MZK9-GH0 (21 and 24 November) for your subscriptions: Microsoft puts the exposure criteria and the immediate actions there.
  2. Rotate every secret stored in APIM: subscription keys (primary and secondary), named values that hold secrets, backend credentials, OAuth 2.0 and OpenID Connect client secrets, developer portal sign-in secrets, connection strings such as Event Hubs loggers, any password written inside a policy, and the legacy management API access keys. Microsoft's rotation guide gives the commands.
  3. Rotate the Azure Key Vault secrets that APIM references, as Microsoft's advisory requires.
  4. Revoke the old credential where it was issued: create the new one at the backend or identity provider, put it in APIM, test, then cancel the old one. Microsoft warns that updating the value in API Management alone does not revoke the old credential.
  5. Check for intrusion: look for subscriptions, users, policies or backends you did not create, and review unexpected activity on the systems these keys open, such as payment, customer data or email.

Secrets you already rotated after the first or second Service Health notice do not need rotating again, Microsoft says. We also suggest planning a move to an APIM v2 tier, which this flaw did not touch.

Why it matters for your business

One leaked key in a gateway can open your order system, your customer database or your payment account without anyone guessing a password. The cost of rotating keys is a few hours of your IT team's time; the cost of an attacker using an old key is far higher.

The Origami view

We build apps and platforms that talk to other systems through APIs, and we see the same pattern often: keys set up once and never changed. A good habit, beyond this flaw, is to keep secrets in a vault, give each partner its own key, and rotate keys on a schedule so a leak like this is a routine task, not a crisis. If you want help reviewing how your systems connect, talk to us.

  • #Azure API Management
  • #Microsoft Azure
  • #Security Vulnerabilities
  • #Cybersecurity

Frequently asked questions

How do I know if our Azure API Management is affected?

If it runs on the Classic Developer, Basic, Standard or Premium tier it is in scope, and Service Health in the Azure portal lists impacted resources under tracking ID MZK9-GH0. The v2 and Consumption tiers are not affected.

Microsoft fixed the flaw, so why rotate keys?

The fix on 19 November 2026 closed the hole but does not revoke keys that may have been stolen before it, so Microsoft asks customers to rotate secrets stored in APIM and the Key Vault secrets it references.

Do we need to download an update?

No. APIM is a cloud service that Microsoft fixed on its side; what remains for you is rotating credentials and checking for unexpected activity.

We rotated keys after the November notice. Do we repeat it?

No. According to Microsoft, secrets rotated after the first or second Service Health notification do not need rotating again.

Have a project in mind?

We build custom systems, apps and websites for your business. Tell us your idea and we will give you a straight answer on it.

See our services

Newsletter

New articles and series, in your inbox.

Follow Origami in Google

Pin Origami as a preferred source and our articles will surface first for you in Google Search and Top Stories.

Add as a preferred source on Google