Skip to content
Start with Identity
News

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

Norway's NSM says an unknown actor exploited a now-closed Azure API Management vulnerability to go after access tokens, secrets and named values, hitting Equinor and Skagerak Energi. Microsoft says exposed Classic instances could have leaked identity provider client secrets, subscription keys and management tokens. Rotate everything APIM stores.

By SWI Community TeamNov 20, 2026Updated Nov 23, 2026

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). 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, 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 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 backend credentials, app registration client secrets, subscription keys, referenced 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 service principal sign-ins for apps whose secrets lived in the gateway.

Source: NSM, The Register, Anders Kristiansen

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Independent analysis. No vendor sponsorship. Editorial policy · Report a correction