Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.
Article4 min readViews1

Azure API Management Attacked via CVE-2026-139934: Who Must Rotate Secrets

Microsoft patched a vulnerability in APIM Classic, but owners of affected resources must check MZK9-GH0, replace previous secrets, and investigate potential credential misuse.

Comments 0

An engineer replaces a blue access capsule in a transparent gateway while holding an old amber capsule
In this article

On December 3, 2026, Microsoft announced a critical vulnerability, CVE-2026-139934, in Azure API Management (APIM) Classic and confirmed its exploitation. On December 4, CISA added it to its catalog of known exploited vulnerabilities. Owners of affected instances must check the private notification MZK9-GH0 in Azure Service Health, rotate related secrets, and investigate potential use of previous credentials.

What Happened

The vulnerability allows an unauthenticated remote attacker to send specially crafted requests to an APIM Classic instance and perform administrative operations, including secret management. Microsoft patched the vulnerable platform component on November 19. There is no separate update package for customers, but the platform fix does not eliminate the risk from secrets that may have been exposed earlier.

Microsoft sent notification MZK9-GH0 in Azure Service Health to customers with potentially affected resources on November 21 and updated it on November 24. The mere presence of an APIM Classic instance does not prove compromise; the decisive indicator is a personalized notification listing specific resources.

Who Is Affected

The Azure API Management Classic Developer, Basic, Standard, and Premium tiers are at risk. According to Microsoft, the v2 and Consumption tiers are not affected by this vulnerability. For companies using APIM as a gateway between the internet, internal APIs, an online store, CRM, or other integrations, a potential secret leak is dangerous beyond the gateway itself: previous access credentials may remain active with the API provider or in dependent systems.

What to Check Now

  • Open Azure Service Health → Security Advisories and locate notification MZK9-GH0. Viewing the list of resources requires appropriate RBAC permissions; Microsoft separately documents access to the affected resources section.
  • Before cleanup, save logs and investigation context related to the risk period. Correlate the timing of unusual administrative operations in APIM with requests to dependent APIs and storage systems.
  • If a resource is listed in the notification, compile a list of secrets available to APIM: subscription keys, named values, backend service credentials, OAuth/OIDC client secrets, logger connection strings, and secrets used in policies. Also check secrets in Key Vault referenced by APIM.
  • Replace the affected values and investigate unusual activity in systems where they were used. Do not copy secrets into tickets, correspondence, or shared logs.
  • If a secret was replaced after one of the MZK9-GH0 notifications from November 21 or 24, Microsoft states that re-replacement due to this vulnerability is not required.

How to safely rotate secrets

Microsoft recommends the sequence: create a replacement, update APIM, verify API functionality, then revoke the old value. Simply editing a named value or another setting in APIM does not revoke the old key with its publisher. Therefore, first create a new secret in the source system, switch the gateway to it, verify critical routes, and then invalidate the previous value where it was issued.

Order matters for working integrations: premature revocation can halt order processing, payments, or data exchange, while delaying revocation leaves the old secret usable. For secrets with zero-downtime rotation, temporarily maintain two values only during the switch and complete the revocation after a confirmed test.

What remains unknown

Open materials do not specify the number of affected organizations, the geography of the attacks, or the proportion of successful compromises. The fact that the vulnerability was exploited does not mean that every instance of APIM Classic was attacked, nor does it confirm impact on a specific resource without data from Azure Service Health and an investigation.

Discussion 0

Share your experience and ask questions. Comments without links appear after editorial review.

No comments yet. Start the discussion.