The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42898

CVE-2026-42898: Microsoft Dynamics 365 RCE Vulnerability

CVE-2026-42898 is a remote code execution flaw in Microsoft Dynamics 365 (on-premises) caused by code injection. Authorized attackers can exploit this to execute arbitrary code over a network. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: May 17, 2026

CVE-2026-42898 Overview

CVE-2026-42898 is a code injection vulnerability in Microsoft Dynamics 365 (on-premises) that allows an authorized attacker to execute arbitrary code over a network. The flaw is tracked under CWE-94: Improper Control of Generation of Code and affects the on-premises distribution of the Dynamics 365 business application platform.

Microsoft published the advisory on May 12, 2026. The vulnerability requires low privileges and no user interaction, and exploitation can cross security scopes to impact components beyond the vulnerable service.

Critical Impact

An authenticated attacker can execute code remotely on Dynamics 365 on-premises servers, compromising confidentiality, integrity, and availability of business-critical CRM and ERP data.

Affected Products

  • Microsoft Dynamics 365 (on-premises)
  • Deployments using the affected CPE cpe:2.3:a:microsoft:dynamics_365:*:*:*:*:on-premises:*:*:*
  • Self-hosted Dynamics 365 environments exposed to authenticated network users

Discovery Timeline

  • 2026-05-12 - CVE-2026-42898 published to NVD
  • 2026-05-12 - Microsoft releases security update guidance via MSRC
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-42898

Vulnerability Analysis

The vulnerability stems from improper control over the generation of code within Microsoft Dynamics 365 (on-premises). The application accepts attacker-influenced input that is later evaluated or compiled as executable code, mapping directly to CWE-94.

An authorized user with valid credentials can submit crafted payloads that the server processes as code rather than data. Because the issue results in a scope change, exploitation can affect resources managed by components other than the vulnerable one, expanding the blast radius beyond the initial process boundary.

The EPSS score is 0.076% as of May 17, 2026, indicating low predicted exploitation activity at publication. However, the high impact on integrated CRM and ERP data warrants prompt remediation.

Root Cause

The root cause is insufficient validation and sanitization of input that is passed into a code generation or evaluation routine. When user-controlled data reaches a dynamic execution surface without strict filtering, Dynamics 365 generates and runs code derived from that input. Refer to the Microsoft CVE-2026-42898 Update Guide for vendor-specific technical context.

Attack Vector

The attack is network-based and requires the attacker to hold an authenticated session against the Dynamics 365 on-premises deployment. No user interaction is needed. After authenticating with low privileges, the attacker submits crafted requests to a code-generation endpoint, triggering arbitrary code execution in the service context. The compromised process can then access integrated databases, service accounts, and downstream systems.

No public proof-of-concept exploit, exploit kit entry, or CISA KEV listing has been published for CVE-2026-42898 at the time of writing.

Detection Methods for CVE-2026-42898

Indicators of Compromise

  • Unexpected child processes spawned by Dynamics 365 service accounts, including w3wp.exe launching shells, scripting hosts, or cmd.exe
  • Outbound network connections from Dynamics 365 application servers to unfamiliar external hosts
  • New or modified server-side scripts, custom workflow assemblies, or plugin registrations submitted by low-privilege accounts
  • Authentication events from low-privilege Dynamics 365 users followed by code execution telemetry on the host

Detection Strategies

  • Monitor IIS and Dynamics 365 application logs for anomalous POST payloads to customization, workflow, or plugin registration endpoints
  • Correlate authenticated Dynamics 365 user sessions with process creation events on the underlying Windows server
  • Apply behavioral detection that flags code compilation or script interpreters spawned from CRM web worker processes
  • Hunt for newly registered custom workflow activities or business logic submitted shortly before suspicious process activity

Monitoring Recommendations

  • Forward Dynamics 365 trace logs, IIS logs, and Windows Security event logs to a centralized SIEM for correlation
  • Alert on Dynamics 365 service account activity that deviates from baseline process and network behavior
  • Track privilege changes and new plugin or workflow deployments performed by non-administrative users

How to Mitigate CVE-2026-42898

Immediate Actions Required

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2026-42898 to all on-premises Dynamics 365 servers
  • Audit Dynamics 365 user accounts and remove or restrict accounts that no longer require access
  • Review custom plugins, workflows, and server-side scripts deployed in the last 90 days for unauthorized changes
  • Restrict network exposure of Dynamics 365 on-premises servers to trusted internal networks and VPN users only

Patch Information

Microsoft has published remediation guidance through the Microsoft CVE-2026-42898 Update Guide. Administrators should consult MSRC for the specific cumulative update or hotfix applicable to their Dynamics 365 on-premises version and apply it during the next maintenance window.

Workarounds

  • Enforce least privilege on Dynamics 365 security roles, limiting customization and plugin registration permissions to administrators
  • Place Dynamics 365 application endpoints behind a web application firewall configured to inspect requests to customization APIs
  • Disable or tightly control unused custom code execution features such as custom workflow assemblies where not required
  • Require multi-factor authentication for all Dynamics 365 users to reduce the risk of credentialed access by attackers
bash
# Configuration example: restrict Dynamics 365 endpoints to trusted subnets via Windows Firewall
New-NetFirewallRule -DisplayName "Restrict-Dynamics365-HTTPS" `
  -Direction Inbound `
  -Protocol TCP `
  -LocalPort 443 `
  -RemoteAddress 10.0.0.0/8,192.168.0.0/16 `
  -Action Allow

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Dynamics 365

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Vendor Resources
  • Microsoft CVE-2026-42898 Update Guide
  • Related CVEs
  • CVE-2022-35805: Microsoft Dynamics 365 RCE Vulnerability

  • CVE-2022-23259: Microsoft Dynamics 365 RCE Vulnerability

  • CVE-2026-33821: Dynamics 365 Privilege Escalation Flaw

  • CVE-2026-42833: Microsoft Dynamics 365 Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English