Microsoft closed an exploited hole in Azure API Management (APIM) Classic on November 19, but the fix does not cancel any credentials attackers may already have taken. On December 4, CISA added the flaw, tracked as CVE-2026-139934, to its Known Exploited Vulnerabilities (KEV) catalog with a federal remediation deadline of December 7. For organizations that run the service, the real work is rotating secrets, not patching.
What happened
Microsoft says it identified the problem on November 18 and deployed a mitigation the next day. Before the fix, an unauthorized party could reach management functionality on Classic instances that were not set up according to Microsoft’s recommended practices, and perform administrative operations, including reading stored secrets. Customers were warned through a private Azure Service Health advisory (tracking ID MZK9-GH0) rather than through a downloadable update.
Norway’s National Security Authority (NSM) linked the activity to attacks on the country’s energy sector. It said an unknown actor was hunting for access tokens, secrets and named values stored in APIM, and the Equinor and Skagerak Energi names have been tied to the incident. Equinor disclosed an ongoing cyberattack on November 17 and later said it stopped the attack and found no indication that data was stolen or altered. Skagerak reported an attempted attack with no operational impact and no evidence of compromise.
CISA’s December 4 listing set a December 7 due date for federal civilian agencies. Secondary coverage reports a CVSS score of 9.8 and says Microsoft’s formal CVE entry appeared only this week, after the incident had been circulating through private advisories. The same CISA batch also included two Ping Identity PingIDM flaws, which we do not cover here.
Who is affected
Microsoft says the Classic Developer, Basic, Standard and Premium tiers were affected. The Classic Consumption tier and all v2 tiers were not. Material that may have been exposed includes:
- Secrets stored in named values
- Client secrets for identity providers and OpenID Connect providers
- Subscription keys
- Tokens used to call direct management APIs
Because an API gateway holds credentials for the services behind it, a stolen secret can often be used directly against those backends, outside APIM. Microsoft’s remediation closed the access path but, by its own account, did not automatically invalidate credentials that may have been accessed earlier.
What to do
The steps below are our analysis, drawn from Microsoft’s and NSM’s public guidance as reported by the sources listed.
- Inventory every APIM Classic instance, including development, test and forgotten ones, and check Azure Service Health for advisory MZK9-GH0.
- Check the gateway runtime version as NSM advises. NSM says the 0.52.x line should be at build 31936 or higher and 0.53.x at 31938 or higher; contact Microsoft if an instance is below that.
- Rotate secrets at the system that issued them, then update APIM, then revoke the old value. Overwriting a value inside APIM does not revoke it at the backend or identity provider.
- Cover the full list: subscription keys, named values, backend credentials, identity provider and OIDC client secrets, connection strings, credentials written into policies, and any model-provider API keys kept in APIM.
- Hunt downstream rather than in APIM’s own logs: Key Vault audit events, identity sign-in logs for applications whose secrets APIM held, and backend or provider usage that does not match gateway traffic.
- If the legacy direct management API is still enabled on any instance, turn it off. Microsoft retired it in March 2025.
What we still do not know
Microsoft has not published a root cause. Independent analysts point to the legacy direct management endpoint on Classic instances, and one administrator claimed on Reddit that a deprecated legacy API was abused without leaving customer-visible logs. BleepingComputer said it could not verify that claim, so treat it as unconfirmed. The full scale of exploitation is also unclear: no attacker has been publicly identified, and the sources describe Norway’s energy sector as the first place the activity was seen, with organizations in other countries and industries also affected. Finally, Microsoft told BleepingComputer that its fix needed no customer action but did not explain why NSM kept advising version checks; both can hold at once, since patching and credential rotation are separate jobs.
Sources: BleepingComputer, Nov 23, 2026; Cloud Security Alliance research note, Nov 24, 2026; The CyberSec Guru, Dec 5, 2026; QUE.com, Dec 5, 2026.
Leave a Reply