Azure Monitor Agent
CVE-2025-59285
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privileged local foothold on monitored host
-
ExploitCraft malicious serialized payload
-
ExecutionTrigger unsafe deserialization in Azure Monitor Agent
-
ImpactExecute code in agent's privileged context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already have authenticated, low-privileged local access (PR:L, AV:L) to a host where Azure Monitor Agent is installed and running, and to feed attacker-controlled serialized data into a code path the agent deserializes unsafely (CWE-502). Limiting factors that reduce realistic risk: the attack is local only (no remote/network reach), high attack complexity (AC:H) implies specific preconditions such as winning a race or controlling particular input state rather than a trivially repeatable trigger, no user interaction is needed (UI:N) but a pre-existing foothold is mandatory, and scope is unchanged (S:U) so impact is confined to the local system's privilege boundary. The specific agent feature, version, and configuration that expose the vulnerable deserialization path are not detailed in the available data and should be confirmed via the MSRC advisory. |
| Impact | This is a moderate-priority, not a drop-everything issue. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U, C:H/I:H/A:H) describes a local privilege-escalation flaw: the attacker must already have low-privileged authenticated access to the host (PR:L, AV:L) and must overcome meaningful exploitation hurdles (AC:H), but a successful exploit yields full confidentiality, integrity, and availability compromise of the system. The EPSS score of 0.78% (55th percentile) indicates low near-term exploitation probability, which is consistent with the local-only, high-complexity, authentication-required profile - this is not a mass-scannable remote flaw. The vulnerability is NOT in CISA KEV and no public POC is referenced, so there is no evidence of active exploitation or weaponization. The headline 7.0 is driven entirely by the high impact (C:H/I:H/A:H) rather than ease of exploitation; the AC:H and PR:L prerequisites materially reduce real-world risk. All signals are internally consistent (local vector, low EPSS, no KEV, high impact) - there is no conflicting data. Treat this as a hardening/patch-in-normal-cycle item for Azure-monitored hosts, with elevated urgency only on multi-tenant or shared hosts where untrusted low-privilege users coexist with the agent. |
| Exploit ScenarioDerived | A low-privileged but authenticated local user (or a process the attacker has already compromised) on a host running Azure Monitor Agent supplies crafted serialized data that the agent deserializes without proper validation (CWE-502), causing attacker-controlled code to execute in the agent's higher-privilege context. Because the attack vector is local and complexity is high, the attacker needs an existing foothold and must satisfy specific timing/state conditions rather than exploiting remotely. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Local privilege escalation in Microsoft Azure Monitor Agent (CPE cpe:2.3:a:microsoft:azure_monitor_agent, all versions covered by the wildcard) lets an attacker who already holds authenticated, low-privileged access on the host feed attacker-controlled serialized data into an unsafe deserialization path and gain elevated privileges - code execution, confidentiality and integrity impact are all rated High, confined to the local system (S:U). This is a moderate-priority, not a drop-everything issue: the attack is local-only with high complexity (AV:L/AC:H/PR:L/UI:N), EPSS is 0.78% (55th percentile), there is no CISA KEV listing, and no public exploit code has been identified at time of analysis. Exploitation is contingent on a pre-existing foothold plus the specific agent feature, version, and configuration that expose the vulnerable deserialization path - details that must be confirmed against the MSRC advisory.
RemediationAI
No fixed version number is included in the supplied intelligence, so the primary action is to pull the exact patched build for each platform directly from the Microsoft MSRC update guide for CVE-2025-59285 (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59285) - patch status should be recorded as 'available per vendor advisory' until that build number is confirmed, and the agent should be upgraded on every monitored host rather than only internet-facing ones. Because the attack requires an authenticated low-privileged local principal, the most effective compensating control is to shrink the population of principals that can reach the vulnerable path: audit and remove unnecessary local interactive/RDP rights on monitored servers, and verify that the agent's configuration, extension and data directories (and any IPC endpoints or named pipes it exposes) are writable only by Administrators/SYSTEM or root-equivalent accounts; tightening these ACLs will break third-party tooling or scripts that currently write agent configuration as a non-privileged user, so stage the change on a pilot ring. Enable Windows Defender Application Control / SELinux or AppArmor confinement around the agent process to blunt arbitrary process creation or module load if deserialization is abused, and forward agent service logs plus Sysmon process-creation and image-load events to a central SIEM to catch post-exploitation behavior. Where patching must be deferred and the local-attacker prerequisite cannot be reduced, isolate the agent host role so that a single elevated local account yields no additional lateral movement value, and re-run agent inventory frequently since AMA auto-updates can silently close the exposure.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-502, Deserialization of Untrusted Data, in the Microsoft Azure Monitor Agent. Deserialization flaws of this class occur when an application reconstructs objects from a byte/string stream supplied by an untrusted source without type or integrity constraints; depending on the serializer and the types reachable on the deserialization graph, an attacker can influence object construction, invoke gadget chains, or set properties that were never meant to be attacker-controlled, converting a data-parsing step into code execution within the security context of the deserializing process. In this case the process runs as the Azure Monitor Agent service, so successful abuse yields privilege elevation above the attacker's starting level. The CVSS vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H indicates the trigger is local, requires an authenticated low-privileged principal, needs no user interaction, and has meaningful preconditions (AC:H, e.g. winning a race or controlling specific input state) rather than being trivially repeatable; scope is unchanged, so the blast radius stays inside the host's privilege boundary instead of crossing a security authority. The available data does not identify which serialization format or agent component is affected, so the precise gadget surface should be treated as unconfirmed pending the MSRC advisory.
Know when Azure Monitor Agent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local privilege escalation by an authenticated low-priv user (AV:L, PR:L); AC:H reflects deserialization preconditions; successful exploit yields full local compromise (C:H/I:H/A:H), scope unchanged.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Deserialization of untrusted data in Azure Monitor Agent allows an authorized attacker to elevate privileges locally.
Executive ViewAI
Microsoft Azure Monitor Agent, across all versions covered by the available wildcard CPE, contains a high-severity local privilege escalation issue (CVE-2025-59285) that could allow an authenticated low-privileged user with an existing host foothold to gain elevated code execution and compromise local confidentiality and integrity. Because the agent is widely deployed for cloud monitoring, affected servers and workstations require immediate inventory, least-privilege enforcement, and enhanced detection while Microsoft prepares a fix. There is no public exploit identified at time of analysis, and successful exploitation depends on a pre-existing local foothold plus the specific vulnerable agent feature, version, and configuration.
No vendor-released patch identified at time of analysis. Interim mitigations include enforcing least privilege and limiting local interactive logon on Microsoft Azure Monitor Agent hosts, restricting write access to agent configuration and data paths where feasible, monitoring for anomalous privilege escalation or deserialization activity, and applying any Microsoft MSRC workarounds or configuration guidance. Apply vendor patch when released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Affected Products (CPE)CVE.org
More in Azure Monitor Agent
View allMicrosoft Azure Monitor Agent contains an out-of-bounds write (CWE-131, incorrect buffer size calculation) that allows a
Azure 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
Privilege escalation in Microsoft Azure Monitor Agent lets a locally authenticated, low-privileged user on a monitored h
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
Heap-based buffer overflow in Azure Monitor Agent allows an unauthorized attacker to execute code locally. Rated high se
Azure Monitor Agent Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.1), this vulnerability is low atta
Azure Monitor Agent Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.1), this vulnerability is low atta
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB