# Norway says an Azure API Management flaw was used to target stored secrets and tokens

Source: https://startwithidentity.com/blog/2026-11-20-norway-says-azure-api-management-flaw-was-used-to-target-stored-secrets-and-tokens/
Last updated: 2026-11-23
License: content by Start with Identity. Cite the source URL.

---

Norway's National Security Authority (NSM) said on November 20 that an unknown actor exploited a now-closed vulnerability in Azure API Management (APIM) to target access tokens, secrets and named values, and named energy companies Equinor and Skagerak Energi among those affected ([NSM](https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management)). NSM tells APIM users to assume every secret and named value is compromised, rotate them all, and check a gateway's RuntimeVersion at `/internal-status-0123456789abcdef`: 0.52.x is patched from 31936 and 0.53.x from 31938. In a nonpublic advisory seen by [The Register](https://www.theregister.com/security/2026/11/23/norway-links-energy-firm-cyberattacks-to-critical-azure-api-management-flaw/5311598), Microsoft says it identified the issue on November 18 and mitigated it automatically the next day. Exposed Classic-tier instances could have leaked named values, client secrets for identity and OpenID Connect providers, subscription keys and direct management API tokens. Microsoft says APIM v2 is not affected, and attackers also ran admin operations.

## Why it matters

An API gateway holds the credentials it uses to call every backend behind it, so a secret read from APIM works directly against those services. Researcher [Anders Kristiansen](https://anderskristiansen.com/post/2026/apim-legacy-access/) points out that the legacy direct Management API authenticates with a SharedAccessSignature signed by the instance's tenant access key rather than Entra ID, and its calls do not appear in the ARM Activity log.

Patching closes the hole but does not invalidate what was taken. [Rotate](https://startwithidentity.com/glossary/secrets-rotation/) backend credentials, app registration [client secrets](https://startwithidentity.com/glossary/client-credentials/), subscription keys, referenced [Azure Key Vault](https://startwithidentity.com/vendors/secrets/azure-key-vault/) secrets and tenant access keys. Set Enable Management REST API to No, prune APIM users and who can edit policies or use tracing, and hunt [Microsoft Entra](https://startwithidentity.com/vendors/iam/microsoft-entra/) [service principal](https://startwithidentity.com/glossary/service-principal/) sign-ins for apps whose secrets lived in the gateway.

Source: [NSM](https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management), [The Register](https://www.theregister.com/security/2026/11/23/norway-links-energy-firm-cyberattacks-to-critical-azure-api-management-flaw/5311598), [Anders Kristiansen](https://anderskristiansen.com/post/2026/apim-legacy-access/)
