Skip to content
Path traversal Advisory Advanced CVE-2026-32204

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.

P1hcn Follow

Originally disclosed on Microsoft

High 7.8 View original

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

The original report as published on the Microsoft Security Response Center, by P1hcn. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by P1hcn

View all

35 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.