Skip to navigation

Threat reportVulnerabilityTL-2026-7550

CVE-2026-139934: Azure API Management Classic Incorrect Authorization Vulnerability Exploited to Steal Stored Secrets (CISA KEV)

criticalACTIVE

CVE-2026-139934 is an incorrect authorization flaw (CWE-863, CVSS 9.8) in Azure API Management (APIM) Classic tiers that let an unauthenticated network attacker reach management functions and read stored secrets. CISA added it to KEV on 2026-12-04; Norway's NSM tied exploitation to attacks on Equinor and Skagerak Energi. First disclosed .

By

Key facts

IdentifiersTL-2026-7550, CVE-2026-139934
Also known asMZK9-GH0, Azure API Management Classic secret theft
SeverityCRITICAL
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-139934 (added )
EPSSCVE-2026-139934: 1.4% (75.1th percentile)
Affected productsMicrosoft Azure API Management Classic (Developer, Basic, Standard, Premium tiers); Microsoft Azure API Management Classic Consumption tier and v2 tiers (reported NOT affected)
Weaknesses (CWE)CWE-863
MITRE ATT&CK techniquesT1078.004 Valid Accounts: Cloud Accounts, T1190 Exploit Public-Facing Application, T1528 Steal Application Access Token, T1530 Data from Cloud Storage, T1550.001 Use Alternate Authentication Material: Application Access Token, T1555.006 Credentials from Password Stores: Cloud Secrets Management Stores
MotivationUNKNOWN
Target sectorsenergy, oil-and-gas, cloud-services, government administration
Target regionsEurope, norway, Global
Detection rules9 (1 shown free)
Sources14 cited sources

Detection coverage

As of 2026-12-05, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7550 across Splunk SPL, Microsoft KQL and Sigma, covering 24 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: CVE-2026-139934 APIM Classic Secret Listing Burst — Exploitation Phase

Detects a single caller/source IP enumerating Azure API Management secrets through Azure Activity Log operations (/namedvalues/listvalue/action, /subscriptions/listsecrets/action, /tenant/listsecrets/action, /identityproviders/listsecrets/action) across multiple secret classes or multiple APIM instances. This is the secret-theft behaviour NSM and Microsoft describe for CVE-2026-139934 (APIM Classic incorrect authorization, CWE-863, CISA KEV): Named Value secrets, subscription keys, tenant access keys and identity provider client secrets stored directly in APIM (T1552) are read out in bulk (T1555.006, T1528). Note the reported legacy direct management API path may not be logged in ARM, so this rule catches the loggable portion of the activity and complements the downstream Key Vault and service principal hunts.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1555.006, T1528, T1552
  • Data sources: azure:monitor:activity (index=azure), AzureActivity, azure activitylogs
  • Severity: critical
  • Confidence: medium

Splunk SPL

index=azure sourcetype="azure:monitor:activity" earliest=-24h
| eval op=lower(coalesce('operationName.value', operationName))
| search op="microsoft.apimanagement/service/*" (op="*/namedvalues/listvalue/action" OR op="*/subscriptions/listsecrets/action" OR op="*/tenant/listsecrets/action" OR op="*/identityproviders/listsecrets/action")
| eval src=coalesce(callerIpAddress, 'httpRequest.clientIpAddress')
| eval secret_class=case(like(op,"%/namedvalues/%"),"named_value", like(op,"%/subscriptions/%"),"subscription_key", like(op,"%/tenant/%"),"tenant_access_key", like(op,"%/identityproviders/%"),"idp_client_secret")
| eval apim_instance=mvindex(split(resourceId,"/"),8)
| stats count AS secret_list_ops dc(secret_class) AS secret_classes values(secret_class) AS classes dc(apim_instance) AS apim_instances min(_time) AS first_seen max(_time) AS last_seen BY caller, src
| where secret_classes>=2 OR apim_instances>=2 OR secret_list_ops>=10
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen,"%Y-%m-%d %H:%M:%S")
| table caller src classes secret_list_ops apim_instances first_seen last_seen

Microsoft KQL

let SecretOps = "(namedvalues/listvalue|subscriptions/listsecrets|tenant/listsecrets|identityproviders/listsecrets)/action";
AzureActivity
| where TimeGenerated > ago(24h)
| where OperationNameValue startswith "MICROSOFT.APIMANAGEMENT/SERVICE/"
| extend Op = tolower(OperationNameValue)
| where Op matches regex SecretOps
| where ActivityStatusValue in ("Success", "Succeeded")
| extend SecretClass = case(Op contains "namedvalues", "NamedValue", Op contains "subscriptions", "SubscriptionKey", Op contains "tenant", "TenantAccessKey", "IdentityProviderSecret")
| extend ApimInstance = tostring(split(_ResourceId, "/")[8])
| summarize SecretListOps = count(), SecretClasses = dcount(SecretClass), Classes = make_set(SecretClass), ApimInstances = dcount(ApimInstance), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by Caller, CallerIpAddress
| where SecretClasses >= 2 or ApimInstances >= 2 or SecretListOps >= 10
| project FirstSeen, LastSeen, Caller, CallerIpAddress, Classes, SecretListOps, ApimInstances

Sigma

title: Azure APIM Secret Listing Operations - CVE-2026-139934
id: 7b1e3c52-4a9d-4f6e-9c1a-2d8f5e0b7a31
status: experimental
description: Detects Azure Activity Log operations that list Azure API Management secrets (named values, subscription keys, tenant access keys, identity provider client secrets), the behaviour associated with CVE-2026-139934 exploitation against APIM Classic tiers.
references:
    - https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management
    - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-139934
    - https://techcommunity.microsoft.com/blog/integrationsonazureblog/rotating-credentials-in-azure-api-management/4575478
author: Threadlinqs Team
date: 2026/12/05
tags:
    - attack.initial-access
    - attack.t1190
    - attack.credential-access
    - attack.t1555.006
    - attack.t1528
    - attack.t1552
    - cve.2026.139934
logsource:
    product: azure
    service: activitylogs
detection:
    selection_service:
        operationName|startswith: 'MICROSOFT.APIMANAGEMENT/SERVICE/'
    selection_ops:
        operationName|endswith:
            - '/NAMEDVALUES/LISTVALUE/ACTION'
            - '/SUBSCRIPTIONS/LISTSECRETS/ACTION'
            - '/TENANT/LISTSECRETS/ACTION'
            - '/IDENTITYPROVIDERS/LISTSECRETS/ACTION'
    condition: selection_service and selection_ops
falsepositives:
    - Administrators and CI/CD pipelines that legitimately read APIM secrets during deployment or credential rotation
level: high

Known false positives:

  • APIM administrators or deployment pipelines reading named values and subscription keys during releases
  • Credential rotation work following the MZK9-GH0 advisory will legitimately trigger multiple secret-listing operations

Tuning notes: Exclude known admin/pipeline callers with a lookup (NOT caller IN (...)) and suppress during planned rotation windows. Confirm field names (operationName.value, callerIpAddress, resourceId) against your Splunk Add-on for Microsoft Cloud Services version. Quiet logs do not rule out compromise because the legacy direct management API may bypass the ARM Activity Log. Lower the thresholds for production APIM instances. T1552 is an analyst mapping from Microsoft's note that secrets stored directly in APIM (rather than Key Vault references) were exposed.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • First-Seen Caller Listing APIM Secrets (CVE-2026-139934) — Exploitation Phase · unlock with TL Creds
  • New Credential Added to Service Principal or APIM Key Regenerated After Secret Exposure — Post-Exploitation Persistence · unlock with TL Creds
  • Stolen-Secret Use Across Entra, Storage, APIM Gateway and Legacy Management API from CVE-2026-139934 Leads — C2/Lateral · unlock with TL Creds
  • Azure APIM Named Value and Identity Provider Secret Listing — Exploitation Phase · unlock with TL Creds
  • Key Vault Secret Read by Non-Gateway Caller Using curl — Post-Exploitation · unlock with TL Creds
  • Entra ID Sign-in from Reported curl Source IPs [indicator]/135 (CVE-2026-139934) — C2/Lateral · unlock with TL Creds
  • Key Vault Secret Reads from CVE-2026-139934 Hunting-Lead IPs or curl/7.88.1 — Post-Exploitation · unlock with TL Creds
  • Service Principal Sign-in from CVE-2026-139934 Hunting-Lead IPs — Stolen Secret Use · unlock with TL Creds

Indicators of compromise

As of 2026-12-05, Threadlinqs Intelligence tracks 24 indicators of compromise for TL-2026-7550.

Sample indicators (3 of 24)

  • IP address: 23.162.24[.]134
  • Domain: management[.]azure-api[.]net
  • IP address: 23.162.24[.]135

Defanged, TLP:CLEAR. Full set of 24 indicators: unlock with TL Creds.

24 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Microsoft closed the access path on 2026-11-19, but the fix does not invalidate credentials that were already accessed, so customers must rotate secrets.

NVD describes CVE-2026-139934 as an incorrect authorization flaw in Azure API Management that allows an unauthorized network attacker to gain elevated privileges (CVSS 3.1 9.8, AV:N/AC:L/PR:N/UI:N). CISA's KEV entry (added 2026-12-04, action due 2026-12-07) is named 'Microsoft Azure API Management Incorrect Authorization Vulnerability'; its SSVC assessment is exploitation 'active', automatable 'yes', technical impact 'total'. CISA lists ransomware use as unknown. Reporting by Cyber Security News links the CVE to Microsoft's Azure Service Health advisory MZK9-GH0 on APIM Classic tiers. That link rests on matching tiers, remediation date and rotation guidance. The MSRC page for the CVE was cited by the sources but was not independently retrieved. Earlier coverage (Nov 23-24) states that no CVE had been assigned yet.

Per Microsoft, as quoted by BleepingComputer and CSO, an unauthorized party could have used the issue to access secrets stored in APIM Classic instances and perform administrative operations. Affected tiers are Classic Developer, Basic, Standard and Premium. The Classic Consumption tier and all v2 tiers are not affected. Microsoft said exposure applied to instances not configured according to documented best practices, with two risky configurations named: no recommended network integration, and secrets stored directly in APIM rather than referenced from Azure Key Vault. Secret classes Microsoft lists as exposed: Named Value secrets, identity provider and OpenID Connect client secrets, subscription keys, and tokens used to call direct management APIs. The CSA note adds tenant access keys. Microsoft identified the issue on 2026-11-18 and closed the management-plane access path on 2026-11-19, rotating Microsoft-controlled keys where appropriate. Its investigation found customers were exposed before the fix, and the start of exposure is unknown. Microsoft states the remediation 'does not automatically invalidate credentials that may have been accessed before the fix was deployed'.

Norway's National Security Authority (NSM) advisory of 2026-11-20 (updated 2026-11-23) says an unknown actor actively targeted access tokens, secrets and named values in APIM. The energy sector first detected the activity. Equinor (disclosed 2026-11-17) and Skagerak Energi are named as affected. Equinor said it stopped the attack and found no sign data was stolen or altered. Skagerak Energi reported an attempted attack with no operational impact. NSM says organizations in other countries and sectors were also affected and that the extent of exploitation is unclear. NSM gives patched gateway RuntimeVersion thresholds: 0.52.x build 31936 or higher and 0.53.x build 31938 or higher. These can be read from the gateway's status endpoint. No actor, group or attribution is named in any source.

The technical root cause has not been published by Microsoft. Unconfirmed secondary claims: ThreatAft and researcher Anders Kristiansen describe the legacy direct management API (<instance>.management.azure-api.net), which authenticates with SharedAccessSignature tokens signed by the tenant access key, bypasses Entra ID and Azure RBAC, and is not recorded in the ARM Activity Log. Microsoft says this API was retired in March 2025. An unnamed Reddit administrator quoted by BleepingComputer claimed a zero-day authentication bypass in a deprecated legacy API, with no customer-visible logs. BleepingComputer did not verify this. Because the access path may be unlogged, quiet APIM logs do not rule out compromise. Evidence is more likely downstream: service principal sign-ins from new IPs, Key Vault SecretGet calls, and unexpected use of backend or model-provider credentials. Kristiansen's post lists IP addresses seen mostly in service principal sign-ins using stolen secrets between 8 and 21 November. He states they overlap with legitimate traffic, that the post is not a confirmed attack chain, and that his lab checks did not use a real APIM instance. Treat those IPs as hunting leads, not confirmed attacker infrastructure.

MITRE ATT&CK techniques by tactic:

Initial Access

T1078.004 Valid Accounts: Cloud Accounts; T1190 Exploit Public-Facing Application

Credential Access

T1528 Steal Application Access Token; T1555.006 Credentials from Password Stores: Cloud Secrets Management Stores

Collection

T1530 Data from Cloud Storage

Lateral Movement

T1550.001 Use Alternate Authentication Material: Application Access Token

Remediation

Patches

  • Platform-side fix deployed by Microsoft on 2026-11-19; no customer-installable update and no customer action needed for the patch itself (Microsoft)
  • Confirm patched gateway builds: 0.52.x >= 31936, 0.53.x >= 31938 (NSM)

Immediate actions

  • Check Azure Service Health > Security Advisories > Impacted Resources (advisory MZK9-GH0) to identify exposed APIM Classic instances
  • Inventory all APIM instances across subscriptions and tenants, including dev, test and orphaned instances
  • Verify gateway RuntimeVersion: 0.52.x build >= 31936 and 0.53.x build >= 31938 (NSM); contact Microsoft if below
  • Treat all secrets and named values on affected Classic instances as compromised (NSM) and rotate them at the issuing system, not only in APIM
  • Rotate subscription keys, secret named values, backend credentials, OAuth 2.0/OIDC client secrets, connection strings, credentials embedded in policies, tenant access keys and Key Vault secrets referenced by APIM
  • Disable the legacy direct management API and regenerate tenant access keys
  • Hunt for post-compromise use of exposed credentials: AzureActivity secret-listing operations, AADServicePrincipalSignInLogs from new IPs, Key Vault SecretGet/SecretList, backend and model-provider usage and billing
  • Report confirmed compromises in Norway to NSM; CISA KEV federal deadline was 2026-12-07

Workarounds

  • Follow Microsoft guidance on network controls for APIM
  • Reference secrets from Azure Key Vault instead of storing them directly in APIM
  • Where old and new credentials can both remain valid: create replacement, update APIM, test, then revoke the old credential at its issuer

Longer-term hardening

  • Move secret named values to Key Vault references with versionless identifiers
  • Replace stored backend and model API keys with managed identity authentication where supported
  • Restrict management-plane network access and use VNet integration where the tier allows (Classic Developer and Premium)
  • Migrate off APIM Classic (especially Basic and Standard) to v2 tiers
  • Unpublish the developer portal or disable self-service sign-up if unused
  • Route Azure Service Health security advisories into incident response with CVE-level urgency

Affected and fixed versions

  • Microsoft — Azure API Management Classic (Developer, Basic, Standard, Premium tiers)
    Vulnerable versions: Gateway RuntimeVersion 0.52.x with build below 31936; Gateway RuntimeVersion 0.53.x with build below 31938; NVD lists all APIM versions as affected
    Fixed in: Platform-side fix deployed 2026-11-19; gateway 0.52.x build 31936 or later; 0.53.x build 31938 or later
  • Microsoft — Azure API Management Classic Consumption tier and v2 tiers (reported NOT affected)
    Fixed in: Not affected per Microsoft and NSM

Timeline

  • Microsoft says the APIM direct management API was retired on this date; ThreatAft/Kristiansen claim the endpoint was never removed (unconfirmed by Microsoft).
  • Start of the 8-21 November window in which Kristiansen reports service principal sign-ins from the listed IPs using stolen secrets (public-source hunting lead, not a confirmed attack chain).
  • Equinor discloses an ongoing cyberattack on certain IT systems; it later says the attack was stopped with no sign of data theft or alteration.
  • Microsoft identifies the APIM Classic issue; Skagerak Energi reports an attempted cyberattack the same day.
  • Microsoft closes the management-plane access path and rotates Microsoft-controlled keys where appropriate; the fix does not invalidate previously accessed customer credentials.
  • Norway's NSM publishes an advisory linking the flaw to attacks on the Norwegian energy sector, stating an unknown actor targeted access tokens, secrets and named values, and listing patched gateway builds.
  • Microsoft publishes 'Rotating credentials in Azure API Management' guidance (updated 2026-11-22).
  • NSM updates its advisory; BleepingComputer, SecurityWeek, The Register and SC Media report on Microsoft's Service Health advisory MZK9-GH0.
  • Azure Service Health notice 'Important security information about Azure API Management Classic tiers' (MZK9-GH0) is dated this day; CSA publishes its research note stating no CVE had yet been assigned.
  • NVD publishes CVE-2026-139934 (CVSS 9.8, CWE-863) and CISA adds it to the KEV catalog.
  • CISA KEV remediation due date for federal agencies (apply vendor mitigations per BOD 26-04 or discontinue use).

Sources cited

AI-drafted from 14 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats