Microsoft has shut down a security flaw in its Azure API Management (APIM) service that had been exploited by an unknown threat actor to steal tokens, secrets and other sensitive configuration data, amid warnings by Norway’s National Security Authority (NSM) about its potential link to recent cyber incidents at energy firms Equinor and Skagerak Energi.
Microsoft on November 18, 2026, discovered the issue and enforced a mitigation to shut off the access path the next day, on November 19. In a non-public notification to customers, Microsoft said an unauthorized party could have accessed secrets stored in Azure API Management instances prior to this.
Several organizations in Norway, including energy giant Equinor and Skagerak Energi, have been targeted in a cyberattack, NSM said November 20. The agency also warned that the exposure goes beyond Norway’s borders and the energy sector, and that customers should assume their credentials have been stolen.
Who is affected
According to The Register, which reviewed Microsoft’s non-public advisory, only Azure API Management Classic tiers are affected; v2 tiers are not impacted. Exposure is tied to Classic-tier configurations that either did not follow Microsoft’s documented network security guidance or stored secrets directly in APIM instead of referencing them from Azure Key Vault, The Register reported.
The advisory described by SecurityWeek lists potentially exposed data including secrets stored as named values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens used to call Azure API Management direct management APIs.
The Norwegian incidents
Equinor disclosed a cyberattack on November 17, one day before Microsoft identified the APIM flaw, and said it found no evidence that data had been stolen or altered, SecurityWeek reported. Skagerak Energi disclosed its own incident on November 18, stating that operations and production were unaffected and that it had no evidence of information compromise.
The Record quoted NSM director Martin Albert-Hoff as saying it remains unclear how extensively the vulnerability has been exploited, and that authorities have found no evidence that successful or attempted compromises disrupted services at Norwegian organizations. EnergyWatch reported that NSM concluded the operations against the two energy firms do not appear to have been specifically aimed at the energy sector.
What to do
Microsoft is reported by The Record to have published guidance on November 22 explaining how affected customers can identify and replace potentially exposed credentials, although the guidance does not explicitly acknowledge the vulnerability or tie it to the Norwegian attacks. NSM’s recommendations for APIM users, summarized by Ilan Shaya, are:
- Assume all secrets and named values stored in APIM have leaked, and rotate every token and secret.
- Investigate Classic-tier instances for signs of compromise before Microsoft’s November 19 mitigation.
- Map the systems and data accessible through each APIM instance.
- Verify the gateway runtime version via the internal status URL: builds 0.52.x with a build number of 31936 or higher, and 0.53.x with 31938 or higher, are patched; lower build numbers remain vulnerable.
- Contact Microsoft if an instance remains unpatched.
NSM noted that version formats such as 0.53.4608.0 or 0.52.4150.0 correspond to APIM v2 or Consumption tiers, which are not vulnerable to this issue. Microsoft’s broader guidance also calls for moving sensitive data into Azure Key Vault and following its network security recommendations for APIM.