Skip to main content

Neotech Cloud Solutions

Home/Cybersecurity/Azure API Management vulnerability: Microsoft closed the door, but your stolen secrets still work
Gros plan d'un serveur dans une baie de centre de données éclairée en bleu

Azure API Management vulnerability: Microsoft closed the door, but your stolen secrets still work

This Tuesday, November 24, a Microsoft alert deserves the attention of any business that uses Azure, even indirectly. An Azure API Management vulnerability let an unknown party copy secrets (passwords, keys, tokens) stored in some instances of the service. Microsoft closed the door on November 19. The catch: a secret that was already copied keeps working until you change it yourself.

Azure API Management, or APIM, is a kind of front desk that sits in front of a company’s APIs, the connections that let two pieces of software talk to each other: your website and your ERP, your mobile app and its servers, your partners and your ordering system. To get through, each application presents a “secret”, the machine-to-machine equivalent of a password. Many small businesses don’t use APIM directly. Some use it without knowing: an integration set up by a developer or IT provider, or a test instance someone created once and forgot. Here is, calmly, what you need to know and what to ask.

Azure API Management vulnerability: are you affected?

According to the security advisory Microsoft sent to customers (tracking ID MZK9-GH0, not public, but seen by BleepingComputer and The Register), the company identified the vulnerability on November 18 and deployed a mitigation the next day, with no customer action required for the fix itself. The flaw allowed unauthorized access to certain management functions on instances that were not configured according to recommended security best practices. An intruder could then perform administrative operations, including reading secrets.

Microsoft is blunt: “customers were exposed and an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances” before the flaw was identified. It all depends on the tier (the pricing plan) chosen for the instance. The “Classic” generation is affected, except its Consumption tier; the newer “v2” generation is not.

Affected or not? Azure API Management tiers

⚠️ Classic: Developer, Basic, Standard, Premium
○ Classic Consumption and all v2 tiers
Affected per Microsoft?
Yes. Secrets may have been read before November 19.
No, per Microsoft.
What may have been exposed
Secret named values, client secrets for identity and OpenID Connect providers, subscription keys, tokens for the direct management APIs.
Nothing, for this flaw.
What to do
Treat secrets as exposed, rotate them, review logs and check the instance version.
Confirm there is no other Classic instance in your Azure subscriptions.

Sources: Microsoft advisory as reported by BleepingComputer and The Register, November 23, 2026.

In Norway, the National Security Authority (NSM) says an unknown actor actively went after access tokens, secrets and named values stored in APIM. Several Norwegian organizations were hit, including Equinor and Skagerak Energi. Norway’s energy sector first discovered the flaw, and NSM says it affects several sectors, in Norway and beyond. Equinor disclosed an ongoing cyberattack on November 17, then said it had stopped it and found no indication that data was stolen or altered. Skagerak Energi reported an attempt with no impact. According to NSM, the real extent of exploitation is still unclear.

The fix is in: how your provider checks it

Microsoft says it deployed the fix itself, with no action required on your side. NSM still recommends checking that yours was actually updated, using a status page specific to each instance. This is not a job for the business owner: just hand this card to whoever manages your Azure.

🔧 Checking an APIM instance’s version

For your IT provider or developer

Open this address and read the RuntimeVersion line:

https://<your-gateway>/internal-status-0123456789abcdef

✅0.52.xPatched if the last number is 31936 or higher.
✅0.53.xPatched if the last number is 31938 or higher.
ℹ️0.53.4608.0
0.52.4150.0
Different number pattern: v2 or Consumption tier, threshold does not apply, not vulnerable.
⚠️Lower numberStill vulnerable: contact Microsoft or your provider right away.

Rule published by NSM (Norway) on November 20, 2026, updated November 23.

Why your stolen secrets still work

This is the heart of the issue. Microsoft rotated the keys it controls itself, but says its fix “does not automatically invalidate credentials that may have been accessed before the fix was deployed.” Security expert Anders Kristiansen, quoted by The Register, puts it simply: a credential obtained this way may be usable directly against the service it protects, outside APIM. What an intruder can reach depends on the credential’s permissions and whether it is still valid. We saw the same mechanism with stolen AI API keys: a key works until someone cancels it.

The fix is called “rotation”: create a new secret, install it, then cancel the old one. NSM asks every organization using APIM to assume its secrets and named values are exposed and to rotate all of them. On November 21, Microsoft published a guide with the safe order to follow:

🔄 Microsoft’s recommended order for rotating a secret

1Create the replacement at the issuer

At the source of the secret: the backend service or the identity provider.

2Update APIM

Enter the new secret in Azure API Management.

3Test your APIs

Make sure the website, app or integration still works.

4Revoke the old secret

At the source, so the stolen copy becomes useless.

⚠️ Updating the value in API Management doesn’t revoke the old credential at its issuer.

What to rotate, according to Microsoft’s guide:

🔑 Subscription keys🔑 Named values that contain secrets🔑 Backend credentials🔑 OAuth 2.0 and OpenID Connect client secrets🔑 Connection strings🔑 Credentials written directly into policies

Microsoft also asks affected customers to look for suspicious activity in systems reachable with those secrets and to review available logs. An APIM instance can open many doors: NSM advises mapping what sits behind each instance. Remember the case where a single stolen key was enough to open 173 Microsoft 365 tenants: one secret can lead a long way.

The recommended setup going forward

According to The Register, Microsoft linked exposure to Classic instances that did not follow its network security guidance or that stored secrets directly in APIM rather than referencing them from Azure Key Vault, Azure’s safe for secrets. Nothing says Key Vault would have prevented everything, but it is the setup Microsoft recommends:

Where an APIM instance should keep its secrets

Before: avoid

📝 Secret written in APIM

The password is stored as a named value of type secret, directly in the service.

🌐 Broad network access

The instance does not follow Microsoft’s network security guidance.

📜 Secrets in policies

Credentials are sometimes written in plain text in the front desk’s rules.

➜

After: the recommended setup

🔐 Secret in Azure Key Vault

APIM only keeps a reference to the vault; the secret stays in Key Vault.

🪪 Managed identity

APIM signs in to Key Vault with an Azure-managed identity, with no password to store.

🧱 Restricted network access

The instance is configured according to Microsoft’s network security guidance.

A good setup reduces risk; it does not replace rotating secrets that were already exposed.

Take the opportunity to clean house: a development or test instance created for a finished project, that nobody watches anymore, has no reason to stay online. This case also comes just days after the Microsoft Entra Connect Health breach: cloud management services are prime targets.

🛡️ How NeoTech can help

We inventory your Azure resources with you, find forgotten instances, prepare a secrets rotation plan with your developer and move secrets into Azure Key Vault. Your environments then stay under our automated 24/7 monitoring with on-call technician intervention. To learn more, see our cybersecurity services.

Your questions, answered

If you are not technical, three questions are enough to move things forward. Send them to your IT provider or developer, and write down the answers.

APIM vulnerability: questions from business owners

QI’ve never heard of APIM. Am I affected?

Maybe not, but check. An integration (website, app, partner exchange) may have been built on APIM by a provider. Only the person who manages your Azure subscription can confirm it.

QMicrosoft fixed it. Why should I act?

Because the fix closes the door going forward, without cancelling what may have been copied before. Stolen secrets stay valid until they are changed at the source.

QWhat about forgotten test instances?

Customers told The Register that forgotten development and test instances could leave more organizations exposed. They can hold real secrets.

QIs there a CVE number?

No CVE number is mentioned in the advisories and reports we reviewed. Refer to Microsoft tracking ID MZK9-GH0 instead.

QWhat should I ask my provider?

1) Do we have an Azure API Management instance, even a test one? 2) Which tier: Classic or v2? 3) Have the secrets been rotated at the source and the logs reviewed?

Book your free cyber check

In 30 minutes, we look with you at which cloud services hold your passwords and keys (Azure, Microsoft 365, integrations), who manages them, and what to change first.

👉 Book your free cyber check

Call us at 438-476-2322 or email info@neotechcloudsolutions.com.

Our office: 2572 boul. Daniel-Johnson, office 237, Laval.

To protect your cloud access in Laval and Montreal: see our cybersecurity for Montreal SMBs and our managed IT services in Montreal.

Sources

Photo: panumas nikhomkhai, Pexels (Pexels licence).

Leave a Reply

Your email address will not be published. Required fields are marked *