Azure Monitor Agent Elevation of Privilege Vulnerability (CVE-2026-32204)
The Azure Monitor Agent service does not strictly validate incoming configuration messages, allowing an authorised local attacker to write files on the system. This could let the attacker run unauthorised code and elevate privileges to root.
Description
External control of file name or path in Azure Monitor Agent allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could an attacker gain with successful exploitation? An attacker who successfully exploited the vulnerability could elevate their privileges to 'root' user.
FAQ
How could an attacker exploit this vulnerability? An attacker could send specially crafted configuration messages to a locally running Azure Monitor Agent service that does not strictly validate incoming requests. By doing so, the attacker may be able to write files on the affected system, which could then be used to run unauthorized code.
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 Azure Monitor Agent service trusts file paths or names supplied in local configuration messages without validating them, allowing file writes outside the intended location.
Impact
An attacker with local access could write files and run unauthorised code, potentially elevating privileges to root.
What the attacker needed
Local access to the affected system; Azure Monitor Agent service running
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.
A background service on a computer accepts instructions from other programs on the same machine. It does not check those instructions carefully enough, so a user who already has some access can trick it into creating files. Those files can then be used to run code with the highest level of permission, called root.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.