A cloud API gateway with rotated credentials protects energy infrastructure from exposed legacy access methods.
When an API gateway starts leaking keys to the kingdom, nobody in the SOC gets to sleep through the weekend—especially when the attackers knock on the doors of Europe's energy infrastructure. Norway's National Security Authority (NSM) has linked an actively exploited vulnerability in Microsoft's Azure API Management (APIM) service to recent cyber incidents at energy giant Equinor and power producer Skagerak Energi, warning administrators far beyond Scandinavia to assume stored credentials may have been exposed and to rotate them immediately. While NSM says the underlying flaw has now been closed, the episode is a textbook reminder that patching a cloud control plane does not automatically pull back secrets that may already have walked out the door.

According to NSM's advisory—first published on November 20, 2026, and updated on November 23—an unidentified threat actor actively targeted access tokens, secrets, and "named values" inside APIM across multiple sectors both inside and outside Norway. Crucially, no CVE identifier has been assigned to the flaw, and neither NSM nor Microsoft has publicly released the technical root cause or exploit mechanics, leaving IT and security teams to focus on version verification, credential hygiene, and post-exploitation log hunting.

A cloud API gateway with rotated credentials protects energy infrastructure from exposed legacy access methods. What Happened: From Oslo to Redmond​

The timeline of the incident shows how quickly an undocumented cloud exposure can escalate from an isolated corporate alert into a cross-sector advisory:

  • November 17, 2026: Equinor, one of Europe's largest natural gas suppliers, detected an ongoing cyberattack affecting certain internal IT systems.
  • November 18, 2026: Skagerak Energi—a Norwegian hydropower and grid group majority-owned by Statkraft—disclosed that it had spotted suspicious activity involving some group IT systems that could be an attempted cyberattack. On the very same day, Microsoft identified the APIM security issue after Norway's energy sector surfaced the anomaly and alerted authorities.
  • November 19, 2026: Microsoft automatically deployed a mitigation closing the unauthorized access path. Skagerak Energi also reported it had taken necessary measures and gained a clearer overview of its situation.
  • November 20, 2026: Equinor announced the attack against its systems had been stopped, while NSM went public with its APIM security alert crediting the energy sector—and Equinor specifically—for early detection and rapid intelligence sharing.
  • November 23, 2026: NSM updated its guidance with specific gateway build thresholds, as details of Microsoft's non-public Azure Service Health advisory (Tracking ID: MZK9-GH0) circulated via BleepingComputer, SecurityWeek, Recorded Future News, and The Register.

In that customer advisory, Microsoft stated that an unauthorized party could have exploited the flaw prior to November 18 to access secrets stored in Azure API Management Classic instances. Describing its fix, Microsoft warned that the mitigation "blocks the unauthorized management-plane access path that could allow an actor to perform administrative operations, including secrets management, against Azure API Management services," while stressing that it "does not automatically invalidate credentials that may have been accessed before the fix was deployed".

What Equinor and Skagerak Energi Reported—and What Remains Unknown​

Both Norwegian energy firms emphasized operational continuity throughout the week, though corporate "business as usual" statements tell only part of a cloud security story.

Equinor confirmed on November 20 that its oil and gas production ran normally throughout the four-day incident and that it had found no indication that data was stolen or altered, nor any negative impact on employees, partners, or suppliers. Reportedly, some internal services saw disruption during containment, and Equinor noted the intrusion did not appear specifically tailored to the company—an assessment echoed by NSM operational cybersecurity chief Martin Albert-Hoff, who told Norwegian outlet Digi.no that the operations did not look targeted exclusively at the energy sector. Equinor has reported the matter to police.

Skagerak Energi likewise maintained in its November 18 press release that operations and electricity production were unaffected and that there were no indications information had leaked, while notifying the Norwegian Water Resources and Energy Directorate (NVE), KraftCERT, and NSM. Notably, Skagerak Energi's public statement framed the detected activity carefully as something that could be an attempted attack, and NSM's November 23 update stated it had seen no evidence that compromise or attempted compromise disrupted service delivery at Norwegian organizations.

The critical distinction for administrators: NSM explicitly cautions that "no impact on service delivery" and "normal production" do not rule out credential theft or unauthorized data access. Because the vulnerability targeted tokens and secrets sitting inside an API gateway, an attacker could harvest keys silently without tripping a single production alarm. As Albert-Hoff put it in translated comments cited by MLQ.ai, "It is still uncertain how extensive the exploitation of the vulnerability is, and has been".

Who Is Actually Vulnerable? Classic vs. v2 and Consumption Tiers​

Not every Azure API Management deployment shares the same risk profile. According to Microsoft's advisory and NSM's technical thresholds, exposure is strictly scoped by tier and configuration:

APIM Tier / Release LineVulnerability StatusPatched RuntimeVersion ThresholdNotes from Microsoft & NSM
Classic tiers (0.52.x)Vulnerable below thresholdFinal build 31936 or higherExposed if network guidance was not followed or secrets were stored inline
Classic tiers (0.53.x)Vulnerable below thresholdFinal build 31938 or higherBuilds below 31938 remain vulnerable; contact Microsoft if unpatched
v2 tiers (Basic/Standard/Premium v2)Not impactedPattern e.g. 0.53.4608.0 / 0.52.4150.0NSM notes Classic build thresholds do not apply
Consumption tierNot impactedPattern e.g. 0.53.4608.0 / 0.52.4150.0Excluded from the Classic management-plane exposure

Microsoft pointedly tied exposure to Classic deployments that either skipped its documented network security guidance or stored sensitive values directly inside APIM rather than referencing them from Azure Key Vault. For organizations outside Norway, the absence of a local headline is no reason to relax. SecNews.gr checked the public CVEs Alerts page of Greece's National Cybersecurity Authority and found no mention of APIM, Equinor, or Skagerak Energi—yet as that outlet rightly noted, checking a biweekly summary page does not inspect individual Azure tenants. Because NSM confirmed organizations outside Norway were affected, every enterprise running Classic APIM anywhere in the world—including forgotten dev, staging, or test instances—should treat this as an active check.

Why APIM Secrets Are Such a High-Value Target​

To understand why NSM is urging full secret rotation even without confirmed mass exfiltration, picture Azure API Management as the diplomatic checkpoint between external callers and your internal applications. Under normal operation, APIM terminates incoming requests, evaluates XML-configured gateway policies (covering authentication, rate limiting, IP filtering, and payload transformation), and forwards traffic to backend microservices, databases, or AI-connected endpoints.

Because it plays middleman, a Classic APIM instance often holds the master keys needed to talk to everything behind it. Microsoft's advisory enumerated four specific categories of credentials potentially exposed by the flaw:

  1. Named values: Reusable configuration parameters referenced inside gateway policies, which frequently hold API keys, connection strings, or backend tokens.
  2. Identity provider and OpenID Connect client secrets: Credentials linking APIM and its Developer Portal to external identity providers.
  3. Subscription keys: Keys issued to API consumers for coarse access control and quota tracking.
  4. Direct management API tokens: Tokens used to call APIM's legacy direct management endpoint (<instance>.management.azure-api.net).

If an adversary extracts a backend client secret or management token from APIM, they do not necessarily need to pass back through the gateway at all—they can attempt to authenticate directly against the backend APIs or management plane using legitimate credentials. That is precisely why waiting for signs of gateway downtime is a losing strategy.

Step-by-Step: How to Verify and Remediate Your APIM Instances​

Whether you manage a handful of corporate APIs or an enterprise integration hub, treat remediation as a five-part sprint rather than a single portal check.

1. Check Your Gateway RuntimeVersion​

NSM instructs administrators to inspect the live runtime build of every APIM gateway by querying its built-in status path from a browser or curl:

  • Request https://<your-gateway-hostname>/internal-status-0123456789abcdef (replacing <your-gateway-hostname> with your actual gateway host).
  • Read the displayed RuntimeVersion field.
  • Confirm your build meets or exceeds 31936 on the 0.52.x line, or 31938 on the 0.53.x line.
  • If you see a version pattern like 0.53.4608.0 or 0.52.4150.0, you are on a v2 or Consumption tier that NSM confirms is unaffected.
  • If a Classic instance is still running a lower build, contact Microsoft support immediately.

2. Rotate Every Potentially Exposed Credential​

Work from the precautionary assumption that anything stored in an exposed Classic APIM instance was read prior to November 19. Prioritize rotation across:

  • All secret named values and any plain-text credentials embedded directly in policy XML.
  • OAuth 2.0 / OpenID Connect client secrets configured for the Developer Portal or backend authorization.
  • Subscription keys (rotate primary and secondary keys sequentially to avoid breaking active integrations) and direct management API tokens.

3. Map the Blast Radius Behind Each Gateway​

NSM advises mapping every backend service, database, and third-party SaaS platform reachable through each APIM instance. Once mapped, pull Azure Activity Logs, APIM gateway resource logs (if diagnostic settings are enabled), Microsoft Entra ID sign-in logs, and backend application logs covering the window before November 19 to hunt for unexpected token usage, policy edits, or management-plane calls. If you uncover signs of compromise, notify NSM (if within jurisdiction) or your national CERT/CSIRT alongside Microsoft.

4. Harden Your Architecture Against the Next Flaw​

Microsoft Learn's APIM security documentation highlights several configuration gaps that turn a control-plane bug into a credential buffet—and closing them now pays dividends long after this incident fades:

  • Move secrets to Azure Key Vault: Store sensitive values in Key Vault and reference them via versionless secret identifiers using the gateway's managed identity rather than keeping inline secrets in APIM. (Note that Key Vault integration for named values is not available inside APIM workspaces, and inline sensitive values should always be marked as secret.)
  • Turn off or lock down the legacy direct Management API: Unless a legacy automation pipeline strictly requires <instance>.management.azure-api.net, ensure direct management API access is disabled in favor of Azure Resource Manager (ARM) governed by Microsoft Entra ID RBAC and Conditional Access with MFA.
  • Never mistake a subscription key for authentication: Microsoft explicitly warns that subscription keys identify a subscription, not a user or app, and can be shared or leaked. Enforce OAuth 2.0 JWT validation (validate-jwt or validate-azure-ad-token) or mutual TLS client certificates (validate-client-certificate) at the gateway.
  • Reduce public network exposure: Where supported by your tier, place APIM behind private endpoints or virtual network integration with Web Application Firewall inspection, and evaluate whether migrating legacy Classic workloads to APIM v2 tiers fits your 2027 roadmap.

Key Takeaway for Windows and Azure Admins​

Microsoft sealed the unauthorized management-plane access path on November 19, and both Equinor and Skagerak Energi kept critical energy production steady. Yet the real lesson of this November 2026 advisory lies in what happens between a flaw appearing and a cloud provider patching it: credentials inside a management plane have a half-life of zero once exposed. Check your RuntimeVersion today, rotate your Classic APIM secrets tonight, and audit what sits behind your gateways before someone else maps it for you.

 

References

  1. Azure APIM: In the sights of Equinor and Skagerak Energi - SecNews.gr SecNews.gr 2026-11-23T17:25:53+00:00
  2. bleepingcomputer.com bleepingcomputer.com
  3. securityweek.com securityweek.com