Azure Monitor Agent Elevation of Privilege Vulnerability (CVE-2026-47299)
The Azure Monitor Agent contains a command injection flaw that lets an authorised attacker elevate privileges over a network. Exploiting it could bypass extension allowlist protections so a monitoring-only extension runs commands with elevated privileges.
Description
Improper neutralization of special elements used in a command ('command injection') in Azure Monitor Agent allows an authorized attacker to elevate privileges over a network.
FAQ
What kind of security feature could be bypassed by successfully exploiting this vulnerability? Successfully exploiting this vulnerability could bypass extension allowlist–based protections that are intended to limit which Azure Arc or Azure VM extensions can perform actions on a machine. In certain hardened configurations, this could allow a monitoring-only extension to run commands with elevated privileges in ways that were not intended by the security configuration.
Azure Monitor Agent
Azure Monitor Agent
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 agent passes attacker-influenced values into a command without neutralising special characters, and the extension allowlist check can be bypassed.
Impact
An authorised attacker could elevate privileges over a network and, in hardened setups, bypass extension allowlist protections so a monitoring-only extension runs commands with elevated privileges.
What the attacker needed
Authorised access to the target; network reachability to the agent
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.
Command injection means a program builds a system command from input without properly cleaning that input, so an attacker can slip in extra commands. Here, someone who already has some access to the machine could use this to run commands with higher privileges than they should have. The vendor also says it can get around a list that is meant to restrict which extensions may act on the machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.