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

> 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. 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.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-05T06:45:27Z
- **Last updated:** 2026-12-05T06:45:27Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7550
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7550.png
- **ID:** TL-2026-7550
- **Severity:** CRITICAL (CVSS 9.8)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 24 (3 shown free below)
- **CVEs:** CVE-2026-139934

## Description

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

- T1190 Exploit Public-Facing Application
- T1078.004 Valid Accounts: Cloud Accounts
- T1555.006 Credentials from Password Stores: Cloud Secrets Management Stores
- T1528 Steal Application Access Token
- T1550.001 Use Alternate Authentication Material: Application Access Token
- T1530 Data from Cloud Storage

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**CVE-2026-139934 APIM Classic Secret Listing Burst — Exploitation Phase** (`TL-2026-7550-SPL-001`)

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

```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

```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

```yaml
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

- First-Seen Caller Listing APIM Secrets (CVE-2026-139934) — Exploitation Phase (locked: unlock with TL Creds)
- New Credential Added to Service Principal or APIM Key Regenerated After Secret Exposure — Post-Exploitation Persistence (locked: unlock with TL Creds)
- Stolen-Secret Use Across Entra, Storage, APIM Gateway and Legacy Management API from CVE-2026-139934 Leads — C2/Lateral (locked: unlock with TL Creds)
- Azure APIM Named Value and Identity Provider Secret Listing — Exploitation Phase (locked: unlock with TL Creds)
- Key Vault Secret Read by Non-Gateway Caller Using curl — Post-Exploitation (locked: unlock with TL Creds)
- Entra ID Sign-in from Reported curl Source IPs [indicator]/135 (CVE-2026-139934) — C2/Lateral (locked: unlock with TL Creds)
- Key Vault Secret Reads from CVE-2026-139934 Hunting-Lead IPs or curl/7.88.1 — Post-Exploitation (locked: unlock with TL Creds)
- Service Principal Sign-in from CVE-2026-139934 Hunting-Lead IPs — Stolen Secret Use (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 24)

Defanged, TLP:CLEAR.

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

Full set of 24 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Cyber Security News: CISA Warns of Microsoft Azure API Authorization Vulnerability Exploited in Attacks](https://cybersecuritynews.com/microsoft-azure-api-authorization-vulnerability/)
- [NVD: CVE-2026-139934](https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-139934)
- [CISA KEV Catalog entry for CVE-2026-139934](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-139934)
- [Microsoft Security Update Guide: CVE-2026-139934](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-139934)
- [NSM: NSM deler tiltak mot sårbarhet i Azure API Management](https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management)
- [BleepingComputer: Microsoft Azure flaw exploited to steal customers' API credentials](https://www.bleepingcomputer.com/news/security/microsoft-azure-flaw-exploited-to-steal-customers-api-credentials/)
- [SecurityWeek: Azure Flaw Exploited to Target Secrets at Norwegian Energy Firms](https://www.securityweek.com/azure-flaw-exploited-to-target-secrets-at-norwegian-energy-firms/)
- [The Register: Norway links energy firm cyberattacks to critical Azure API Management flaw](https://www.theregister.com/a/5311598)
- [SC Media: Microsoft addresses Azure API Management vulnerability linked to energy sector attacks](https://www.scworld.com/brief/microsoft-addresses-azure-api-management-vulnerability-linked-to-energy-sector-attacks)
- [CSO Online: Attackers exploited an Azure API Management flaw to steal secrets, Microsoft warns](https://www.csoonline.com/article/4252513/attackers-exploited-an-azure-api-management-flaw-to-steal-secrets-microsoft-warns.html)
- [Cloud Security Alliance: Azure API Management Classic Exploitation: When the AI Gateway Leaks the Keys](https://labs.cloudsecurityalliance.org/research/csa-research-note-azure-apim-classic-secret-theft-20261124-c/)
- [Anders Kristiansen: APIM legacy access hunting guidance](https://anderskristiansen.com/post/2026/apim-legacy-access/)
- [Microsoft Tech Community: Rotating credentials in Azure API Management](https://techcommunity.microsoft.com/blog/integrationsonazureblog/rotating-credentials-in-azure-api-management/4575478)
- [Equinor: Equinor detected cyber attack](https://www.equinor.com/news/20261711-equinor-detected-cyber-attack)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7550
