CVE-2025-47988 Azure Monitor Agent Remote Code Execution Vulnerability

High 7.5 Published Updated

An unauthorized attacker can execute code over an adjacent network due to improper code generation in Azure Monitor Agent.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-47988?

CVE-2025-47988 is a high-severity code injection vulnerability in Microsoft Azure Monitor, published on 8 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Improper control of generation of code ('code injection') in Azure Monitor Agent allows an unauthorized attacker to execute code over an adjacent network.

Weakness: CWE-94

Which versions are affected by CVE-2025-47988?

It affects 1 product.

Products include Microsoft Azure Monitor Agent.

How do I fix CVE-2025-47988?

No fix has been published for CVE-2025-47988 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-47988 being exploited?

There is no known exploitation of CVE-2025-47988 in the wild and no public exploit code.

Sources

Also known as GHSA-fvm8-p9v4-fpvh.

Is CVE-2025-47988 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free