Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability (CVE-2026-42833)
An authenticated user holding the System Administrator role in on-premises Dynamics 365 could alter data tied to background operations through the CRM web interface. When that data was later processed, it could be deserialised without proper validation, letting the attacker run unauthorised commands on the CRM server.
nxhoang99 Follow with f7d8c52bec79e42795cf15888b85cbad
Originally disclosed on Microsoft
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 high (PR:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to already have a high level of access, specifically a System Administrator role in Microsoft Dynamics 365 CRM. As a result, this issue cannot be exploited by an unauthenticated or low-privilege user and would only be relevant to users who already have elevated permissions.
FAQ
How could an attacker exploit this vulnerability? An attacker with System Administrator privileges could modify specific data associated with background operations through the CRM web interface. When the system later processes this data, it may be deserialized without proper validation, allowing the attacker to trigger unauthorized commands on the CRM server.
FAQ
According to the CVSS metric, successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? This vulnerability could lead to the attacker gaining the ability to interact with other tenant’s applications and content.
Microsoft Dynamics 365 (on-premises)
Microsoft Dynamics 365 (on-premises)
Microsoft
Microsoft
Customer Action Required
Yes
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, data used by background operations is deserialised without validation, so attacker-controlled content is turned into executable objects.
Impact
An attacker with administrator rights could run commands on the CRM server and could interact with other tenants' applications and content.
What the attacker needed
System Administrator role in Dynamics 365; On-premises deployment
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.
This is a flaw in a business application that companies run on their own servers. Someone who already has the highest administrative rights inside the product can plant data that the server later reads back and turns into running code, so the server ends up doing things the attacker chose. Because the attacker must already be an administrator, the risk is mainly about an insider or a stolen admin account reaching further than intended.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.