Skip to content
Exploited Azure API Management flaw CVE-2026-139934 lets unauthenticated attackers run admin operations
Black Shard
AdvisoriesCritical severity

Exploited Azure API Management flaw CVE-2026-139934 lets unauthenticated attackers run admin operations

Affected Classic instances accept crafted requests that reach secrets-management operations. Updating a secret in API Management does not revoke the old credential at its issuer, so each one has to be replaced at the source too.

Black Shard Advisories

2 min read

Share

Affects

Microsoft Azure API Management

What to do

Rotate every secret held in Azure API Management Classic instances, then investigate activity on the systems they reach.

On this page
  1. How the flaw works
  2. What to do now
  3. Who is affected
  4. Detection notes
  5. Essential Eight mapping
Advisory BS-ADV-2026-0022
KEV listed
CVE
CVE-2026-139934
CVSS
9.8 (v3.1, Microsoft)
Exploitation
Exploited, in the CISA catalogue
Affected
  • Microsoft Azure API Management (APIM)
  • Azure API Management Classic instances

How the flaw works

An unauthenticated remote attacker sends specially crafted requests to an affected Classic instance and performs administrative operations, including secrets-management operations. An instance can hold subscription keys, backend credentials, OAuth 2.0 and OpenID Connect client secrets, connection strings and credentials written directly into policies. Treat every one of them as exposed.

What to do now

Start with instances whose backends reach client records or payment systems, since those secrets open the most.

  1. Check the Azure Service Health portal's impacted resources view for security advisories, which CISA's entry links
  2. List every instance across subscriptions with the Resource Graph query in Microsoft's rotation guide
  3. Inventory subscription keys, named values, backends, OAuth providers, loggers and policies in each
  4. Create each replacement at its issuer, update API Management, test, then revoke the old secret there
  5. Regenerate legacy management access keys once callers have moved off each one
  6. Move remaining secrets into Key Vault-backed named values or managed identities

Who is affected

CISA's entry names APIM Classic instances. Any firm publishing a client portal, practice system integration or partner feed through one is in scope. CISA set US federal agencies a due date of 7 December 2026.

Detection notes

CISA's notes call for investigating unexpected activity on the systems and services the secrets grant access to, so check the backends, the identity provider and the Event Hubs loggers as well as the instance.

  • API subscriptions, users, policies or backends nobody on the team created
  • Named values, backend credentials or policy text changed outside a planned deployment
  • New client secrets on the Entra app registrations that API Management uses
  • Backend requests carrying valid keys from callers outside the known partner list

Essential Eight mapping

Patch applications: the Essential Eight Maturity Model sets 48 hours for internet-facing services where a working exploit exists, and this flaw is exploited. CISA points to its guidance for cloud services, so for customers the 48 hours goes on rotation and review. Restrict administrative privileges and multi-factor authentication limit who can read or change API Management configuration.

Affected by this advisory?

Tell us what you run. We patch, contain and check for signs of compromise.