Skip to content
Access control Advisory Advanced CVE-2026-42830

Azure Monitor Agent Metrics Extension Elevation of Privilege Vulnerability (CVE-2026-42830)

The Azure Monitor Agent's Metrics Extension relies on an untrusted search path, so a malicious library placed in a location the OpenSSL configuration references can be loaded automatically. An attacker with local access could thereby run unauthorised code with elevated privileges.

Cristhian Parrot Follow

Originally disclosed on Microsoft

High 6.5 View original

Description

Untrusted search path in Azure Monitor Agent allows an authorized attacker to elevate privileges locally.

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to no loss of confidentiality (C:N) and availability (A:N), but could lead to major loss of integrity (I:H). What does that mean for this vulnerability? This primarily impacts integrity, as an attacker could execute unauthorized code and modify system behavior or trusted processes. There is no direct impact to confidentiality, as the scenario does not inherently provide access to sensitive data, and no impact to availability, as exploitation does not inherently disrupt service operation.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component. In this case, the vulnerable component and the impacted component are different and managed by different security authorities.

FAQ

What privileges an attacker could gain with a successful exploitation? The OpenSSL configuration auto‑loading behavior allows extension modules (such as MetricsExtension) to load automatically. Therefore, if an attacker was able to place a malicious DLL in a location referenced by the configuration, it could get loaded implicitly, that could result in arbitrary code execution with elevated privileges.

Azure Monitor Agent

Azure Monitor Agent

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Cristhian Parrot with Kroll. 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 OpenSSL configuration auto-loading behaviour causes extension modules to be loaded from a path that is not trusted, allowing a planted library to be picked up.

Impact

An attacker who can write to the referenced location could execute arbitrary code with elevated privileges, mainly affecting integrity rather than confidentiality or availability, and the impact crosses a security scope boundary.

What the attacker needed

Local access to the host; ability to write to a referenced path

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.

When a program starts, it sometimes loads extra code from files on disk. If it looks for those files in a folder an ordinary user can write to, that user can drop in their own file and the program will run it. Here the agent loads such a file automatically, and because the agent runs with higher rights, so does the attacker's code.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.