Advisory Details

March 24th, 2026

(0Day) Microsoft Azure MCP AzureCliService Command Injection Remote Code Execution Vulnerability

ZDI-26-226
ZDI-CAN-28042

CVE ID
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Microsoft
AFFECTED PRODUCTS Azure
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Azure. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the azure-cli-mcp component. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the MCP server.

ADDITIONAL DETAILS

09/10/25 – ZDI submitted the report to the vendor
09/10/25 – the vendor acknowledged the report
10/24/25 – the vendor rated the severity of the vulnerability to be Moderate
03/09/26 – ZDI notified the vendor of the intention to publish the cases as a 0-day advisory


DISCLOSURE TIMELINE
  • 2025-09-10 - Vulnerability reported to vendor
  • 2026-03-24 - Coordinated public release of advisory
  • 2026-03-24 - Advisory Updated
CREDIT Alfredo Oliveira and David Fiser of Trend Research
BACK TO ADVISORIES