Azure Monitor Agent
CVE-2025-59494
HIGH
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local privilege escalation requiring an existing low-privilege account (AV:L, PR:L), easily repeatable (AC:L), yielding full host compromise (C:H/I:H/A:H) with no scope change.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Improper access control in Azure Monitor Agent allows an authorized attacker to elevate privileges locally.
AnalysisAI
Privilege escalation in Microsoft Azure Monitor Agent lets a locally authenticated, low-privileged user on a monitored host abuse improper access controls in the agent to gain elevated (SYSTEM/root) rights. The CPE cpe:2.3:a:microsoft:azure_monitor_agent:*:*:*:*:*:*:*:* tracks the agent across all versions, so any host actually running AMA - typically Azure VMs, VM scale sets, and Azure Arc-enabled servers with monitoring enabled - is in scope. Exploitation is local-only (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and requires a pre-existing foothold with low-privileged access; no public exploit identified at time of analysis, and EPSS sits at 0.64% (49th percentile), so this is a credible post-compromise escalation rather than an emergency-level remote threat.
Technical ContextAI
The root cause class is CWE-284 (Improper Access Control), and the assigned vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H confirms a local privilege-escalation pattern: an attacker who already holds a valid low-privileged session on the host (PR:L) can act without user interaction (UI:N) and achieve high confidentiality, integrity, and availability impact under a single security scope. In practice this class typically means the agent's privileged service or its supporting artifacts - install and data directories, configuration files, service/named-pipe endpoints, or scheduled components - do not adequately restrict access by non-administrative principals, allowing a low-privileged user to modify agent-controlled resources that are subsequently consumed by a higher-integrity process, thereby crossing an integrity boundary. Microsoft assigns this to the Azure Monitor Agent, the telemetry collection component that runs with elevated privileges on monitored machines to gather logs and metrics and forward them to Azure Monitor via the Data Collection Rules/endpoints pipeline; because it must run with high rights to read protected data, a flaw in how it gates access to its own resources is directly privilege-relevant. The available data does not identify which specific component or configuration is misconfigured, nor whether the issue is confined to a particular OS platform or agent build; treat the entire AMA deployment surface as potentially affected until the MSRC advisory is consulted.
RemediationAI
Microsoft's authoritative guidance is the MSRC update guide for CVE-2025-59494 (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59494), which is the source to consult for the corrected agent build and deployment instructions; the input data does not specify an exact fixed version number, so do not assume a version - verify the patched build against that advisory. Practically, apply the remediation by updating the Azure Monitor Agent extension on every affected host (Azure portal extension update, AutoUpdate on the AMA extension, PowerShell/Azure CLI extension upgrade, or Arc agent extension upgrade) and confirm the running agent version afterward, since hosts with extension auto-update disabled or pinned versions will otherwise remain unpatched. If immediate fleet-wide updating is not feasible, targeted compensating controls reduce exposure but each has trade-offs: remove unnecessary local interactive accounts and enforce least privilege on monitored hosts (limits who can reach the PR:L precondition, but does not fix the underlying ACL flaw); audit and tighten permissions on the agent's install, data, and configuration paths and on the agent service itself so non-administrative principals have no write access (effective hardening, but ACL changes made outside supported configuration can break telemetry collection, so validate in a pilot ring); enable EDR/auditing for suspicious local elevation, agent service restarts, or unexpected modification of agent files (detective only, requires tuning to avoid alert noise). Disabling or uninstalling the agent should not be used as a mitigation because it eliminates all monitoring and security telemetry from the host, which is a materially worse security posture than the risk being avoided.
More in Azure Monitor Agent
View allAzure Monitor Agent Elevation of Privilege Vulnerability. Rated high severity (CVSS 8.4), this vulnerability is low atta
Command injection in Azure Monitor Agent Linux Extension (versions 1.0.0 through pre-1.43) enables privilege escalation
Azure Monitor Agent Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is low atta
Improper control of generation of code ('code injection') in Azure Monitor Agent allows an unauthorized attacker to exec
Azure Monitor Agent Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.1), this vulnerability is low atta
Local privilege escalation in Microsoft Azure Monitor Agent (CPE cpe:2.3:a:microsoft:azure_monitor_agent, all versions c
Azure Monitor Agent Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.1), this vulnerability is low atta
Heap-based buffer overflow in Azure Monitor Agent allows an unauthorized attacker to execute code locally. Rated high se
Same weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today