Skip to content
RCE Advisory Advanced CVE-2026-42898

Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability (CVE-2026-42898)

Microsoft Dynamics 365 on-premises has a code injection flaw where an authenticated user with low privileges can alter the saved state of a process session and cause the server to process it. This could lead the server to run malicious code, affecting resources outside the vulnerable component's own security scope.

John Nzyuko Follow with Butterfly

Originally disclosed on Microsoft

Critical 9.9 View original

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.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.

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

How could an attacker exploit this vulnerability? An attacker with the required permissions could modify the saved state of a process session in Dynamics CRM and trigger the system to process that data, which could result in the server unintentionally executing malicious code.

Microsoft Dynamics 365 (on-premises)

Microsoft Dynamics 365 (on-premises)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by John Nzyuko. 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 server trusts and processes a user-modifiable saved process session state without validating it, which amounts to code injection.

Impact

An authenticated low-privileged attacker could cause the server to execute malicious code, and the impact could extend beyond the vulnerable component's security scope.

What the attacker needed

An authenticated account; low privileges only

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.

Dynamics 365 is business software that runs on a company's own servers. A logged-in user with only ordinary rights could tamper with a saved process session, and the server might then run code the attacker chose. That means a normal user account could be turned into a way to run commands on the server itself.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by John Nzyuko

View all

3 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.