Exploited Azure API Management flaw gets a CVE, but stolen secrets still need rotating


Microsoft has assigned CVE-2026-139934 (CVSS 9.8) to an Azure API Management Classic flaw that attackers used in November to read stored secrets. CISA added it to KEV. The platform fix is in, but credentials taken before it still work.

SaveAdd to Google

Azure API Management stores the credentials for the APIs and backends behind it.

TORONTO

A critical Azure API Management flaw that attackers used to steal stored credentials now has a CVE number, two weeks after Microsoft quietly fixed it. CVE-2026-139934, published by Microsoft on December 3 with a CVSS 3.1 score of 9.8, was added to the US Cybersecurity and Infrastructure Security Agency's (CISA) Known Exploited Vulnerabilities (KEV) catalog on December 4.

There is nothing to install. Microsoft closed the hole on its own platform on November 19. The work left for customers is harder: finding out whether their secrets were read before then, and replacing every credential that might have been.

What the advisory says

Microsoft's record describes an incorrect-authorization weakness (CWE-863) in Azure API Management (APIM) that lets "an unauthorized attacker" elevate privileges over a network. The vector, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, means no credentials, no user interaction and low complexity. Microsoft marks it "Exploitation Detected".

According to Microsoft's description, specially crafted network requests to an affected instance could let an attacker perform administrative operations, including secrets management. Only the Classic Developer, Basic, Standard and Premium tiers are affected. The v2 tiers and the Consumption tier are not.

CISA's KEV entry gives US federal agencies until December 7 to act, a three-day window that reflects how far exploitation has already gone.

A cloud flaw that was exploited before it had a name

The CVE is a formality. The attacks happened in November.

  • November 17: Norwegian energy company Equinor disclosed an ongoing cyberattack.
  • November 18: Microsoft identified the APIM Classic issue.
  • November 19: Microsoft blocked what it called the "unauthorized management-plane access path" and rotated Microsoft-controlled keys where appropriate.
  • November 20: Norway's National Security Authority (NSM) published an advisory linking the flaw to attacks on the energy sector. It said an unknown actor had been actively hunting for access tokens, secrets and named values in APIM, and named Equinor and Skagerak Energi as affected.
  • November 21: Microsoft sent a private Azure Service Health notice to Classic-tier customers (tracking ID MZK9-GH0) and published a guide to rotating APIM credentials.
  • December 3 and 4: CVE published; CISA KEV listing.

Microsoft only began assigning CVEs to cloud-service flaws that need no customer patch in 2024. This case shows why that matters: organizations whose vulnerability management is driven by CVE feeds and scanners had nothing to match against for two weeks while the flaw was being exploited.

Why the management plane matters

APIM is a gateway that sits in front of an organization's APIs. To do that job it stores the keys to everything behind it: named values holding backend API keys and connection strings, subscription keys, OAuth 2.0 and OpenID Connect client secrets, developer-portal identity-provider secrets, logger connection strings, and sometimes credentials written directly into policy XML. Increasingly, those include API keys for AI model providers, as APIM is used as an AI gateway.

That makes the management plane the prize. An attacker who can call administrative operations doesn't need to break the gateway's traffic handling at all: they can simply list the secrets.

Microsoft has not published a root cause. It has said exposure was limited to Classic instances "not configured according to documented security best practices." Independent researchers at ThreatAft and the Cloud Security Alliance point to a likely route: the legacy direct management API, reachable at <instance>.management.azure-api.net. That API authenticates with shared access signature tokens signed by the instance's tenant access key rather than through Microsoft Entra ID and Azure role-based access control. Microsoft retired it in March 2025 but it could remain enabled on older instances. This link is not confirmed by Microsoft, but it has a practical consequence: according to ThreatAft, calls to that API don't appear in the Azure Resource Manager activity log. A clean log search therefore doesn't prove an instance was untouched.

Fixing the platform didn't fix the leak

Microsoft has said its fix does not automatically invalidate credentials accessed before it was applied. A stolen key keeps working until it is revoked at the system that issued it. Changing the value stored in APIM alone doesn't revoke anything. Microsoft's own guidance makes that point, and NSM goes further, telling organizations to assume their secrets and named values were exposed.

That is the real risk. Stolen credentials let an attacker go straight to the backends: databases, payment processors, partner APIs, identity providers and AI services, without touching APIM again.

Canadian exposure

APIM is widely used by Canadian banks, insurers, governments, utilities and software firms to publish APIs, including for open banking and digital government services. The Canadian Centre for Cyber Security has not issued a specific advisory, but its general guidance is to report suspected compromises through My Cyber Portal or at [email protected]. If stolen credentials were used to reach personal information, organizations may have breach reporting obligations under PIPEDA or Quebec's Law 25.

Energy and utility operators should pay particular attention, given that the only confirmed victims so far are Norwegian energy companies. Equinor said it stopped the attack and found no sign that data was stolen or altered; Skagerak reported an attempted attack with no operational impact.

The vulnerability in this story

  1. 9.8 Critical CVE-2026-139934 (cve.org, opens in a new tab) Exploited

    Microsoft Azure API Management Incorrect Authorization Vulnerability

    Exploited in the wild, listed by CISA on Dec 3, 2026

Scores and dates: NVD (not endorsed by the NVD). Each ID opens its record on cve.org.

About the author

Editor's Picks

The best of cybersecuritynews.ca, delivered to you weekly.

On Display

TMU investigating possible cyber incident

Encryption

AI Breakthroughs Trigger Urgent Push for Post-Quantum Encryption Across North America

Doordash

DoorDash Confirms AI-Assisted Cyberattack Exposed Canadian Customer Contact and Delivery Data