Azure API Management Vulnerability: Rotate Every Secret

By 6 min read
Azure API Management vulnerability in APIM Classic that exposed named values, subscription keys and identity provider secrets

Microsoft fixed this Azure flaw in a day, and that is the least important part of the story. The fix closed the door, but any API key, client secret or token taken before 19 November 2026 still works until its owner rotates it.

In short: the Azure API Management vulnerability let an unauthorised party read secrets stored in APIM Classic instances, Microsoft patched it server-side on 19 November, and every organisation running Developer, Basic, Standard or Premium Classic tiers should rotate the credentials those instances held.

What is the Azure API Management vulnerability?

It is a flaw in Azure API Management (APIM) Classic that exposed secrets to an outside party. Microsoft described it, as quoted by BleepingComputer, as unauthorised access to certain management functionality on Classic instances that were not set up according to recommended security practice. With that access, an attacker could run administrative operations, including reading stored secrets.

Microsoft sent the notice as an Azure Service Health advisory with tracking ID MZK9-GH0. The company said an unauthorised party could have used the issue to reach secrets before Microsoft identified it. No CVE ID or CVSS score appears in Microsoft’s statements as reported, or in the Norwegian advisory.

APIM sits in front of many organisations’ backends. It holds the keys it needs to call them, which is exactly what made it worth attacking. If you are reading about this kind of management-plane abuse for the first time, our breakdown of the GT13 campaign against Check Point management servers shows the same pattern on firewalls.

What was exposed?

Microsoft listed five types of data that may have been exposed. Note the wording: “may have been exposed”, not confirmed stolen.

Exposed item Why it matters
Secrets stored in Named Values Often backend passwords, API keys and connection strings
Identity provider client secrets Can let an attacker act as the app against that provider
OpenID Connect provider client secrets Same risk for OIDC sign-in flows
Subscription keys Let a caller use your published APIs as a paying or trusted client
Tokens for direct management APIs Administrative access to the APIM instance itself

Microsoft warned that these could open the door to other applications, services or backend systems, depending on their permissions.

Timeline of the APIM Classic incident

Date (2026) Event Source
17 November Equinor discloses an ongoing cyberattack BleepingComputer, Techzine
18 November Microsoft identifies the vulnerability Microsoft via BleepingComputer
19 November Microsoft closes the unauthorised access path Microsoft via BleepingComputer, Techzine
20 November NSM publishes measures for APIM customers NSM
23 November NSM updates its advisory; BleepingComputer reports the exploitation NSM, BleepingComputer
Timeline from Equinor's 17 November disclosure to NSM's 23 November advisory update.
Microsoft closed the access path one day after identifying the issue. Dates as reported by Microsoft and NSM.

Equinor later said the attack was stopped and that it had no sign data was stolen or altered. Skagerak Energi reported an attempted attack with no impact on operations. Neither the NSM page nor the news reports state outright that both incidents came through APIM, so treat that link with care.

Who was behind it?

Nobody has said. Microsoft refers to an unauthorised party, and NSM to an unknown actor that went after access tokens, secrets and named values. NSM credits the energy sector, and Equinor by name, with spotting the activity first, and says organisations in other sectors and countries were also hit.

NSM adds that the full scale of exploitation is still unclear and that it has seen no effect on deliveries from Norwegian organisations so far.

Why patching is not enough

The server-side fix does nothing for keys already taken. Microsoft told BleepingComputer the fix does not automatically invalidate credentials accessed before it was deployed, and that it rotated Microsoft-controlled keys where appropriate. Credentials you stored in APIM are yours to rotate.

There is also an open question about the fix itself. Microsoft says no customer action was needed, but NSM warns that instances below certain runtime versions are still vulnerable. BleepingComputer noted Microsoft did not explain the difference. The same pattern of a first fix that did not cover every case played out recently with Drupal Fail2Install.

How do you check and fix an APIM instance?

Start by assuming compromise, which is NSM’s own advice. Then work through these steps:

  1. Confirm the runtime version. NSM says to open https://<gateway-hostname>/internal-status-0123456789abcdef and read RuntimeVersion. It treats 0.52.x as patched from build 31936 and 0.53.x from build 31938. Lower builds are still vulnerable; contact Microsoft if yours has not updated.
  2. Rotate everything APIM holds. Named values, backend credentials, identity provider and OIDC client secrets, subscription keys, Key Vault secrets the instance references, and the instance’s own access keys.
  3. Map the blast radius. NSM asks organisations to list what data sits behind each APIM instance, so you know where to look if compromise is confirmed.
  4. Hunt in downstream systems. Microsoft tells customers to investigate activity in systems reachable with the exposed credentials and review available logs.
  5. Report. Norwegian organisations with signs of compromise should contact NSM.
Five-step flow of the response: check version, rotate secrets, map exposure, hunt downstream and report.
The fix does not invalidate stolen credentials, so rotation and hunting come after the version check.

How do you detect Azure APIM abuse?

Researcher Anders Kristiansen published hunting queries on 21 November. He notes the post was written with AI assistance and reflects his reading of public sources, and that some queries were tested only against empty data. His main points:

  • Key Vault audit logs: successful SecretGet calls from an unexpected caller mean a secret value was returned.
  • Service principal sign-ins: APIM-linked app IDs signing in from new IP addresses, or one app requesting tokens for many resources in a short time.
  • Gateway logs: subscription IDs that appear in the last seven days but not in a 30-day baseline, plus unexpected trace requests.
  • Activity log: list-secret actions on APIM and writes to policies, named values and identity providers by callers you do not recognise.

He also flags the catch: the ARM Activity log does not record ordinary reads or calls made through the older direct management API, so an empty result is not a clean bill of health. He recommends turning that legacy API off on every instance. An unverified Reddit post cited by BleepingComputer makes a similar claim about a legacy API without logging; Microsoft has not confirmed the root cause.

What we do not know

No CVE, no root cause from Microsoft, no attribution and no victim count. It is also unclear why NSM still lists vulnerable runtime versions after Microsoft said the fix was fully deployed. Treat any IP lists in circulation as leads only; Kristiansen himself says the ranges he cites overlap with legitimate traffic.

The bottom line

The Azure API Management vulnerability is already patched, but the secrets it exposed are not. If you ran APIM Classic on Developer, Basic, Standard or Premium before 19 November 2026, rotate every credential it stored and hunt where those credentials lead. For another case where one shared platform became the attack path for many customers, see the Optimizely supply chain attack.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is the Azure API Management vulnerability of November 2026?

It is a flaw in Azure API Management Classic that, according to Microsoft, allowed unauthorised access to some management functionality on instances not configured to recommended practice. An attacker could use it to read secrets stored in APIM. Microsoft says it was exploited before it identified the issue on 18 November 2026.

Do I need to patch Azure API Management myself?

No. Microsoft told BleepingComputer the fix was deployed to Microsoft-hosted instances on 19 November 2026 and required no customer action. You do need to rotate any credential stored in APIM, because the fix does not invalidate secrets that were already taken.

Which Azure API Management tiers are affected?

Microsoft lists the Developer, Basic, Standard and Premium tiers of APIM Classic. The Classic Consumption tier and all APIM v2 tiers are not affected.

How do I check if my APIM instance has the fix?

Norway's NSM says to open the gateway's internal-status-0123456789abcdef page and read RuntimeVersion. NSM treats 0.52.x as patched from build 31936 and 0.53.x from build 31938; lower builds are still vulnerable.

Does the Azure APIM flaw have a CVE?

None of the sources reviewed for this article, including Microsoft's statements as reported by BleepingComputer and the NSM advisory, list a CVE ID. Microsoft's Azure Service Health advisory uses tracking ID MZK9-GH0.

Keep reading

Azure API Management vulnerabilityAPIM ClassicMicrosoft Azurecloud securitycredential rotationNSMincident response