Azure CLI Remote Code Execution Vulnerability (CVE-2026-109457)
Azure CLI fails to neutralise special elements when handling job data, allowing command injection. An authenticated attacker who can submit jobs in a shared workspace could craft a job so that another user connecting to it runs commands with that user's local permissions.
Description
Improper neutralization of special elements used in an os command ('os command injection') in Azure CLI allows an authorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? An authenticated attacker with permission to submit jobs in a shared workspace could prepare a specially crafted job and convince another user to connect to it using Azure CLI. Successful exploitation could allow commands to run with that user's local permissions.
Azure CLI
Azure CLI
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the CLI built an operating-system command from job data without neutralising special characters, so crafted input was interpreted as commands.
Impact
Successful exploitation could allow commands to run with the victim user's local permissions; the text does not say whether any defence limited it.
What the attacker needed
Authenticated account; permission to submit jobs in a shared workspace; victim connects to the crafted job
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Azure CLI is a command-line tool people use to manage Microsoft cloud resources. This bug means a job someone else set up in a shared workspace could carry hidden operating-system commands, and when a victim connects to that job with the tool, those commands run on the victim's own computer with their own rights. The core problem is that the tool passed untrusted text into a place where the computer treats it as a command.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.