{
  "url": "https://tldrcve.com/azure-apim-secrets/",
  "json": "https://tldrcve.com/azure-apim-secrets.json",
  "verdict_label": "Patch now",
  "scare_label": "Drop everything",
  "slug": "azure-apim-secrets",
  "name": "Azure APIM secrets",
  "aliases": [
    "azure api management",
    "api management",
    "apim",
    "apim classic",
    "azure",
    "microsoft",
    "named values",
    "subscription keys",
    "direct management api",
    "management.azure-api.net",
    "equinor",
    "skagerak energi",
    "nsm",
    "mzk9-gh0",
    "zero-day"
  ],
  "cves": [],
  "product": "Azure API Management",
  "disclosed": "2026-11-20",
  "updated": "2026-11-24",
  "verdict": "now",
  "tile_line": "On APIM Classic? Rotate the secrets it stored.",
  "summary": "Microsoft says a flaw in Azure API Management Classic tiers let an unauthorized party reach admin functions and read secrets stored in customers' instances before it found the flaw on 18 Nov 2026; it blocked that access the next day. Norway's NSM links it to attacks on Equinor and Skagerak Energi (Skagerak calls its case an attempt with no impact), and says it affects several sectors in Norway and beyond. Microsoft's fix doesn't cancel credentials that were already taken, so Classic customers need to rotate what APIM held and check the systems behind it.",
  "status": {
    "exploit": "none",
    "attacks": "seen",
    "kev": null,
    "scare": 3.1
  },
  "status_cite": {
    "exploit": [
      1,
      2,
      3
    ],
    "attacks": [
      1,
      2,
      3,
      4
    ],
    "kev": [
      8
    ]
  },
  "affected": [
    {
      "label": "You run an APIM Classic tier",
      "text": "Microsoft says Classic tiers were affected and v2 tiers were not; Microsoft's docs list the Classic tiers as Developer, Basic, Standard and Premium, with Consumption separate. NSM says v2 and Consumption tier instances aren't vulnerable. Customers told The Register that forgotten development and test instances could leave more organisations exposed.",
      "cite": [
        1,
        2,
        3,
        9
      ]
    },
    {
      "label": "Not locked down before 19 Nov",
      "text": "Microsoft says exposure was tied to Classic instances that didn't follow its network security guidance or that stored secrets directly in APIM instead of referencing Azure Key Vault. A researcher's write-up says instances whose endpoints couldn't be reached from the internet (a private endpoint, or an internal virtual network with public access off) weren't exposed to this route; a firewall in front only helps if attackers couldn't reach APIM directly. NSM makes no such exception: it tells everyone with APIM to assume their secrets and named values are exposed, and Kristiansen notes Key Vault references don't protect a value from someone who can edit policies or use tracing.",
      "cite": [
        1,
        2,
        3,
        6,
        7
      ]
    }
  ],
  "do": [
    {
      "label": "Check your instance got the fix",
      "text": "NSM's check: open this address on your gateway, from a network that can reach it, and read `RuntimeVersion`. On 0.52.x you're patched if the last number is 31936 or higher, on 0.53.x if it's 31938 or higher. Other patterns (such as `0.53.4608.0`) are v2 or Consumption tier and not vulnerable. If yours is lower, NSM says to contact your provider directly. Microsoft says its own fix needed no customer action; it's unclear whether NSM's version thresholds and that fix are the same thing.",
      "cmd": "curl -s https://<your-gateway-hostname>/internal-status-0123456789abcdef",
      "cite": [
        1,
        2
      ]
    },
    {
      "label": "Rotate what APIM stored",
      "text": "Microsoft lists what may have been exposed: secrets in named values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens for the direct management API. Its fix \"does not automatically invalidate credentials that may have been accessed before the fix was deployed\". NSM says to assume secrets and named values are out and rotate all tokens and secrets. Anders Kristiansen's write-up adds backend credentials, app registration secrets, the Key Vault secrets APIM references and the tenant access keys.",
      "cite": [
        1,
        2,
        7
      ]
    },
    {
      "label": "Check what sits behind APIM",
      "text": "A stolen credential may work directly against the service it protects, outside APIM. NSM says to map what information sits behind each instance; Microsoft says to look for suspicious activity in systems those credentials reach and to review your logs. An admin's Reddit post, cited by BleepingComputer, says attackers logged in to their Key Vaults with a valid administrator token; BleepingComputer hasn't verified it.",
      "cite": [
        1,
        2,
        7
      ]
    },
    {
      "label": "Turn off the old management API",
      "text": "Each instance has a direct management API at `https://<service-name>.management.azure-api.net`. Microsoft retired it on 15 March 2025 and says to disable it if it's on. In the portal that's Management API, Enable Management REST API: No. Two researchers' write-ups say it bypasses Entra ID and Azure role checks and its calls don't show in the Activity log; msandbu's write-up names it as the attack route and says it was still active even when set to No. The Reddit admin quoted by BleepingComputer says attackers used an authentication bypass in \"a deprecated legacy API\" (not verified). Microsoft hasn't confirmed how the attacker got in.",
      "cite": [
        2,
        3,
        5,
        6,
        7
      ]
    },
    {
      "label": "Microsoft hasn't published details",
      "text": "Microsoft's advisory (Azure Service Health, tracking ID MZK9-GH0) went to customers and isn't public; there's no CVE yet, and it isn't on CISA's list of exploited bugs. NSM says it's still unclear how widely the flaw was exploited. We'll check again by 1 Dec 2026.",
      "cite": [
        1,
        2,
        3,
        8
      ],
      "pending": {
        "expected": "2026-12-01"
      }
    }
  ],
  "versions_skip": "Azure API Management is a hosted service that Microsoft fixed on its side on 19 Nov 2026; there's nothing for customers to install.",
  "slack": "Azure API Management Classic tiers, exploited before 18 Nov 2026 (no CVE yet): Microsoft says an unauthorized party could reach admin functions and read secrets stored in Classic instances; it blocked the access path on 19 Nov. Norway's NSM links it to attacks on Equinor and Skagerak Energi, and says it affects several sectors in Norway and beyond. v2 tiers aren't affected (NSM: Consumption isn't either). Microsoft's fix doesn't cancel stolen credentials: rotate named values, identity-provider and OIDC client secrets, subscription keys and direct management API tokens, check the systems behind APIM, and turn off the retired direct management API. NSM's version check: gateway /internal-status-0123456789abcdef, RuntimeVersion 0.52.x >= 31936 or 0.53.x >= 31938.",
  "sources": [
    {
      "title": "NSM (Norway's National Security Authority): Azure API Management vulnerability, Equinor and Skagerak hit, rotate secrets, runtime version check",
      "url": "https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management",
      "date": "20 Nov"
    },
    {
      "title": "BleepingComputer: Microsoft's Service Health advisory MZK9-GH0, Classic tiers, exposed secrets, fixed 19 Nov, Reddit admin's claims",
      "url": "https://www.bleepingcomputer.com/news/security/microsoft-azure-flaw-exploited-to-steal-customers-api-credentials/",
      "date": "23 Nov"
    },
    {
      "title": "The Register: Microsoft's advisory, Classic not v2, exposure tied to configuration, forgotten dev and test instances",
      "url": "https://www.theregister.com/security/2026/11/23/norway-links-energy-firm-cyberattacks-to-critical-azure-api-management-flaw/5311598",
      "date": "23 Nov"
    },
    {
      "title": "Equinor: cyber-attack detected 17 Nov, stopped 20 Nov, no sign data was stolen or altered",
      "url": "https://www.equinor.com/news/20261711-equinor-detected-cyber-attack",
      "date": "20 Nov"
    },
    {
      "title": "Microsoft Learn: direct management API retired 15 March 2025, disable it if enabled",
      "url": "https://learn.microsoft.com/en-us/azure/api-management/breaking-changes/direct-management-api-retirement-march-2025"
    },
    {
      "title": "msandbu.org: the direct management API, who isn't affected, how to check for the upgrade",
      "url": "https://msandbu.org/azure-apim-vulnerabilty/"
    },
    {
      "title": "Anders Kristiansen: what to rotate, the old management API, how to hunt in logs",
      "url": "https://anderskristiansen.com/post/2026/apim-legacy-access/"
    },
    {
      "title": "CISA KEV catalog: not listed",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog"
    },
    {
      "title": "Microsoft Learn: v2 tiers overview, the classic tiers are Developer, Basic, Standard and Premium; Consumption listed separately",
      "url": "https://learn.microsoft.com/en-us/azure/api-management/v2-service-tiers-overview"
    }
  ],
  "changes": [
    {
      "date": "2026-11-24",
      "text": "Published."
    }
  ]
}
