A security flaw in Microsoft Azure API Management (APIM) Classic tiers enabled attackers to pilfer stored API credentials, according to a warning from Microsoft. Norwegian authorities have connected the vulnerability to intrusions targeting the nation's energy sector. The APIM service provides organizations with capabilities to publish, secure, monitor, and manage APIs that facilitate communication between applications, services, and data.

Microsoft disclosed the vulnerability through an Azure Service Health security advisory (Tracking ID: MZK9-GH0) circulated to customers. The company detected the flaw on November 18, 2026, and deployed a mitigation the next day. In the advisory, Microsoft stated: "Our investigation found that customers were exposed and an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances before Microsoft identified the security issue."

image

The vulnerability granted unauthorized access to specific management functions when APIM Classic instances deviated from recommended security configurations. Attackers leveraging this access could execute administrative tasks, including retrieval of secrets held within the service.

Exposed credentials and data

Microsoft identified the following categories of information that could have been compromised:

  • Secrets stored in Named Values
  • Client secrets tied to identity providers
  • Client secrets tied to OpenID Connect providers
  • Subscription keys
  • Tokens used to invoke direct management APIs

Depending on associated permissions, these credentials could grant attackers entry to downstream applications, services, or backend infrastructure.

Microsoft's response and limitations

Microsoft sealed the unauthorized access route on November 19 and reissued Microsoft-managed keys and credentials where warranted. The company cautioned, however, that this remediation would not revoke customer credentials potentially compromised before the patch took effect.

This remediation blocks the unauthorized management-plane access path that could allow an actor to perform administrative operations, including secrets management, against Azure API Management services. However, it does not automatically invalidate credentials that may have been accessed before the fix was deployed.

Microsoft

APIM v2 tiers remain unaffected; only Classic tiers are vulnerable. Microsoft instructed impacted customers to rotate potentially compromised credentials without delay, examine system activity for suspicious behavior, and audit available logs for traces of unauthorized access.

Real-world exploitation and detection challenges

A Reddit post from an administrator at an affected organization described discovering the flaw after identifying unauthorized access to Azure Key Vault through a legitimate administrator token. The administrator asserted that their company had been dealing with the incident for multiple days.

The administrator alleged that threat actors exploited a zero-day authentication bypass in a retired legacy API to compromise a privileged system account on APIM infrastructure. According to the claim, the legacy API generated no logs that would allow customers to spot the breach. The administrator also stated that Microsoft initially attributed the unauthorized activity to exposed customer credentials before rolling out a comprehensive fix. BleepingComputer has not independently confirmed these claims.

Norwegian energy sector targeted

The flaw has been connected to cyberattacks against Norwegian organizations in the energy industry. Norway's National Security Authority (NSM) released a security advisory noting that an unidentified threat actor sought access tokens, secrets, and named values within Azure API Management. The NSM indicated that Norway's energy sector discovered the vulnerability first and that entities across other nations and sectors faced similar exposure.

Energy company Equinor disclosed an active cyberattack on November 17, one day before Microsoft identified the APIM flaw. Equinor subsequently announced it had halted the attack and found no proof of data theft or modification. Skagerak Energi, another energy firm, reported an attempted intrusion but stated it caused no operational disruption and left no evidence of information compromise.

Verification and update status

Although Microsoft stated it deployed a remediation on November 19 requiring no customer intervention, the NSM advisory instructs organizations to confirm their APIM instances have received the security patch. The NSM warns that instances operating below specific runtime versions remain at risk and recommends customers contact their "service provider" if they have not obtained the update. The relationship between these runtime updates and Microsoft's initial mitigation remains unclear.

Cloud security researcher Anders Kristiansen released threat-hunting queries to assist organizations in investigating potential exploitation and cataloging credentials stored in their APIM infrastructure.

Microsoft did not respond to BleepingComputer's inquiries regarding the attacks. This incident follows Microsoft's recent disclosure of a separate breach in its Entra Connect Health service, where attackers exploited a vulnerability to exfiltrate tenant configuration data and administrator email addresses.