CVE-2026-42833 Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability

Critical 9.1 Published Updated

An authorized attacker can execute arbitrary code remotely in Microsoft Dynamics 365 on-premises due to improper code generation control.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-42833?

CVE-2026-42833 is a critical code injection vulnerability in Microsoft Dynamics 365, published on 12 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Improper control of generation of code ('code injection') in Microsoft Dynamics 365 (on-premises) allows an authorized attacker to execute code over a network.

Weakness: CWE-250

Which versions are affected by CVE-2026-42833?

It affects 1 product.

Products include Microsoft Dynamics 365.

How do I fix CVE-2026-42833?

No fix has been published for CVE-2026-42833 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-2026-42833 being exploited?

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

All Microsoft Dynamics 365 vulnerabilities

Sources

Also known as GHSA-wq97-r6xw-c5c9.

Is CVE-2026-42833 in your software?

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

Check your SBOMs for free