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.

In this article
3 декабря 2026 года Microsoft сообщила о критической уязвимости CVE-2026-139934 в Azure API Management (APIM) Classic и подтвердила обнаруженную эксплуатацию. 4 декабря CISA включило её в каталог известных эксплуатируемых уязвимостей. Владельцам затронутых экземпляров нужно проверить закрытое уведомление MZK9-GH0 в Azure Service Health, заменить связанные секреты и исследовать возможное использование прежних учётных данных.
Что произошло
Уязвимость позволяет удалённому злоумышленнику без аутентификации отправлять специально сформированные запросы к экземпляру APIM Classic и выполнять административные операции, включая операции с секретами. Microsoft устранила уязвимую часть платформы 19 ноября. Отдельного пакета обновления для клиентов нет, однако исправление платформы не отменяет риск от секретов, которые могли быть раскрыты раньше.
Microsoft разослала клиентам с потенциально затронутыми ресурсами уведомление MZK9-GH0 в Azure Service Health 21 ноября и обновила его 24 ноября. Наличие экземпляра APIM Classic само по себе не доказывает компрометацию: решающим ориентиром служит персональное уведомление с перечнем ресурсов.
Кого это затрагивает
Под риск подпадают уровни Azure API Management Classic Developer, Basic, Standard и Premium. По данным Microsoft, уровни v2 и Consumption уязвимостью не затронуты. Для компаний, которые используют APIM как шлюз между интернетом, внутренними API, интернет-магазином, CRM или другими интеграциями, возможная утечка секрета опасна уже за пределами самого шлюза: прежние данные доступа могут оставаться действующими у поставщика API или в зависимой системе.
Что проверить сейчас
- Откройте Azure Service Health → Security Advisories и найдите уведомление MZK9-GH0. Для просмотра перечня ресурсов нужны соответствующие права RBAC; Microsoft отдельно описывает доступ к разделу затронутых ресурсов.
- До очистки сохраните относящиеся к периоду риска журналы и контекст расследования. Сопоставьте время необычных административных операций в APIM с обращениями к зависимым API и хранилищам.
- Если ресурс указан в уведомлении, составьте перечень секретов, доступных APIM: ключи подписки, named values, учётные данные backend-сервисов, OAuth/OIDC client secrets, строки подключения логгеров и секреты, используемые в policies. Проверьте также секреты Key Vault, на которые ссылается APIM.
- Замените затронутые значения и исследуйте необычную активность в системах, где они принимались. Не копируйте секреты в заявки, переписку или общий журнал.
- Если секрет был заменён после одного из уведомлений MZK9-GH0 от 21 или 24 ноября, Microsoft указывает, что повторная замена из-за этой уязвимости не требуется.
Как безопасно менять секреты
Microsoft рекомендует последовательность «создать замену → обновить APIM → проверить работу API → отозвать старое значение». Простая правка named value или другой настройки в APIM не отзывает старый ключ у его издателя. Поэтому сначала создайте новый секрет в исходной системе, переключите на него шлюз и проверьте критичные маршруты, а затем аннулируйте прежнее значение там, где оно было выпущено.
Порядок важен для рабочих интеграций: преждевременный отзыв может остановить обмен заказами, оплатами или данными, а задержка с отзывом оставляет старый секрет пригодным для использования. Для секретов с ротацией без простоя временно держите два значения только на период переключения и завершите отзыв после подтверждённого теста.
Что пока неизвестно
Открытые материалы не называют число пострадавших организаций, географию атак или долю успешных компрометаций. Факт эксплуатации уязвимости не означает, что каждый экземпляр APIM Classic был атакован, и не подтверждает воздействие на конкретный ресурс без данных Azure Service Health и расследования.
Источники: карточка CVE Microsoft Security Response Center, руководство Microsoft по ротации учётных данных APIM, справка Microsoft по просмотру затронутых ресурсов и предупреждение Канадского центра кибербезопасности AV26-1232. Информация проверена 5 декабря 2026 года в 03:20 МСК.
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.
Sources: Microsoft Security Response Center CVE card, Microsoft guide to rotating APIM credentials, Microsoft help on viewing affected resources and Canadian Centre for Cyber Security warning AV26-1232. Information verified on December 5, 2026 at 03:20 MSK.





Discussion 0
Share your experience and ask questions. Comments without links appear after editorial review.
No comments yet. Start the discussion.