Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Critical

Remote Code Execution in Microsoft Dynamics 365 On-Premises

IdentifiersCVE-2026-42898CWE-94· Improper Control of Generation of…

CVE-2026-42898 is a critical code injection vulnerability in Microsoft Dynamics 365 (on-premises). Microsoft describes the flaw as improper control of generation of code (CWE-94). Available reporting indicates the issue can be exploited by an authorized, low-privileged attacker over the network by modifying the saved state of a process session in Dynamics CRM, causing the server to process malicious data and unintentionally execute attacker-controlled code. The vulnerability is remotely reachable, requires no user interaction, and has a scope change, meaning successful exploitation can impact resources beyond the originally vulnerable component.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in remote code execution on the Dynamics 365 on-premises server. Reported impact is high across confidentiality, integrity, and availability, and the scope change indicates compromise may extend beyond the vulnerable component into connected application-tier resources or integrated enterprise systems. Multiple sources note that a compromised low-privilege account could be sufficient to gain a foothold on the application tier and potentially expose customer records, workflows, financial information, and other connected business data or services.

Mitigation

If you can’t patch tonight, do this now.

No known workaround is listed in the provided content. Until patching is completed, reduce exposure by restricting network access to Dynamics 365 on-premises instances, minimizing the number of accounts that can authenticate to the application, enforcing least privilege, strengthening authentication controls such as MFA where applicable, and increasing monitoring of Dynamics application servers and related identity, database, and integration paths for anomalous session manipulation or code execution activity.

Remediation

Patch, then assume compromise.

Apply Microsoft's security update for Microsoft Dynamics 365 On-Premises. The provided content specifically identifies KB5078943 as the patch to deploy immediately. Organizations should test and roll out the vendor fix across all affected on-premises Dynamics 365 instances as a priority.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationDynamics 365application

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity4

Community discussion across Reddit, Mastodon, and other social sources.