Skip to main content

Microsoft Dynamics 365 CVE-2026-40371

| EUVDEUVD-2026-35532 HIGH
Improper Handling of Insufficient Permissions or Privileges (CWE-280)
2026-06-09 secure@microsoft.com GHSA-q5cq-75qj-crvp
8.8
CVSS 3.1 · Vendor: microsoft
Temporal: 7.7
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Dynamics 365 credentials
  2. Delivery
    Authenticate to on-premises application over network
  3. Exploit
    Invoke operation with missing permission check
  4. Execution
    Escalate to higher-privileged role
  5. Impact
    Access or modify sensitive CRM data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V8 - Authorization Insufficient permission handling
Exploitation Conditions

The attacker must hold valid low-privilege credentials (CVSS PR:L) to an on-premises Microsoft Dynamics 365 deployment and have network reachability to its application endpoints; no user interaction is required (UI:N) and attack complexity is low (AC:L). Exploitation is limited to the on-premises product variant - Dynamics 365 Online customers are not implicated by this CVE's description - and requires that the attacker already be enrolled as a user (or have compromised an existing user) of the target organization's Dynamics tenant, which constrains exploitation largely to insiders, contractors, or post-initial-access actors rather than fully external unauthenticated attackers.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates network-reachable, low-complexity exploitation requiring only low privileges and no user interaction, with high impact across the CIA triad - a strong signal for prioritization in environments where Dynamics 365 holds business-critical CRM/ERP data. However, important risk-modulating data is missing: there is no EPSS score, no SSVC decision data, no KEV listing, and no public POC referenced, so confirmed real-world exploitation pressure cannot be established. The 'Information Disclosure' tag conflicts somewhat with the EoP description and high integrity/availability impact in the CVSS vector - defenders should treat Microsoft's MSRC advisory as authoritative and not over-rely on the tag. Overall this is a credible high-severity issue for any organization exposing on-premises Dynamics 365 to internal users, but it appears more likely to be exploited opportunistically by insiders or post-compromise rather than mass-exploited externally.

Exploit ScenarioDerived

An attacker who has obtained low-privilege Dynamics 365 credentials - for example via phishing of a sales or support user - authenticates to the on-premises Dynamics 365 web application over the network and invokes an operation that fails to properly verify their permission level. By chaining the missing check, they elevate their effective role to one with administrative rights over CRM data and configuration, enabling exfiltration of customer records, manipulation of business data, or pivoting deeper into the Windows/SQL backend. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Privilege escalation in Microsoft Dynamics 365 (on-premises) allows a remote authenticated attacker with low-level access to gain elevated privileges across the network due to improper handling of insufficient permissions. With a CVSS score of 8.8 and full impact on confidentiality, integrity, and availability, this issue is significant for organizations running on-premises Dynamics 365 deployments. No public exploit identified at time of analysis, and the vulnerability is not currently listed in CISA KEV.

RemediationAI

Apply the security update published by Microsoft via the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40371 as the primary remediation; exact fix build numbers are not included in the supplied data and should be retrieved from that advisory. Until patching is complete, restrict network reachability of the Dynamics 365 application tier to trusted user networks only, audit and tighten Dynamics 365 security roles to enforce least privilege (particularly removing unnecessary write/assign privileges on sensitive entities), and increase monitoring on role-assignment, privilege-change, and administrative audit events within Dynamics - recognising that role tightening may disrupt legitimate business workflows and that network restriction does not block authenticated internal attackers who already meet the PR:L requirement.

Affected VersionsENISA

Microsoft Dynamics 365 (on-premises) version 9.1 9.0 <9.1 Train 26062 (06.2)

Affected Packages

microsoft dynamics_365_on_premises_version_9_1_9_1_train_26062_06_2 fix: Microsoft Dynamics 365 (on-premises) version 9.1 9.1 Train 26062 (06.2)

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in microsoft

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Microsoft Dynamics 365 is an enterprise CRM/ERP platform that, in its on-premises form, runs on customer-managed Windows Server infrastructure with SQL Server backends. The root cause maps to CWE-280 (Improper Handling of Insufficient Permissions or Privileges), meaning the application fails to correctly evaluate or enforce permission states when carrying out privileged operations. In practice this class of bug commonly stems from missing authorization checks on specific entity operations, role-assignment endpoints, or business-process flows, allowing a user with limited rights to invoke functions intended for higher-privileged roles.

Know when Dynamics 365 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (microsoft) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CIRCL (temporal) 7.7 HIGH

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jun 09, 2026 - 19:03 EUVD
CVE Published
Jun 09, 2026 - 17:17 nvd
HIGH 8.8

DescriptionCVE.org

Improper handling of insufficient permissions or privileges in Microsoft Dynamics 365 (on-premises) allows an authorized attacker to elevate privileges over a network.

Executive ViewAI

Why It Matters

Microsoft Dynamics 365 on-premises deployments face a privilege escalation vulnerability (CVE-2026-40371, CVSS 8.8) that allows authenticated users with basic access to gain elevated privileges across the network, with full impact on system confidentiality, integrity, and availability. The absence of a vendor patch places organizations at persistent risk for lateral movement and data compromise by internal or compromised accounts. Immediate assessment and deployment of compensating controls are required for all on-premises Dynamics 365 instances.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network segmentation isolating Dynamics 365 systems from general corporate network; enforce principle of least privilege and audit/revoke unnecessary elevated permissions; deploy multi-factor authentication for all administrative and sensitive access; establish real-time monitoring and alerting for privilege escalation attempts and unauthorized privilege modifications; maintain detailed access and system audit logs; establish and test incident response procedures for potential compromise; maintain active vendor engagement for patch timeline.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Vendor Action
See Below
Required. The vulnerability documented by this CVE requires customer action to resolve.
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-33821 CRITICAL
9.9 May 12

Privilege escalation in Microsoft Dynamics 365 Customer Insights allows an authenticated low-privilege user to cross an

CVE-2026-65772 HIGH
8.8 Sep 08

Remote code execution in Microsoft Dynamics 365 on-premises version 9.1 (prior to build 9.1.0046.0006) is achievable by

CVE-2024-38182 CRITICAL
9.8 Jul 31

Weak authentication in Microsoft Dynamics 365 allows an unauthenticated attacker to elevate privileges over a network. R

CVE-2021-42316 HIGH
8.8 Nov 10

Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerabili

CVE-2026-65815 HIGH
8.8 Aug 11

Remote code execution in Microsoft Dynamics 365 on-premises is achievable by any authenticated low-privileged user via a

CVE-2026-77908 HIGH
8.8 Sep 08

Remote code execution in Microsoft Dynamics 365 Customer Engagement V9.1 (versions below 9.1.0048.0004) is achievable by

CVE-2022-35805 HIGH
8.8 Sep 13

Microsoft Dynamics CRM (on-premises) Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerabi

CVE-2022-34700 HIGH
8.8 Sep 13

Microsoft Dynamics CRM (on-premises) Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerabi

CVE-2022-23259 HIGH
8.8 Apr 15

Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerabili

CVE-2020-17158 HIGH
8.8 Dec 10

Microsoft Dynamics 365 for Finance and Operations (on-premises) Remote Code Execution Vulnerability. Rated high severity

CVE-2020-17152 HIGH
8.8 Dec 10

Microsoft Dynamics 365 for Finance and Operations (on-premises) Remote Code Execution Vulnerability. Rated high severity

CVE-2019-1229 HIGH
8.8 Aug 14

An elevation of privilege vulnerability exists in Dynamics On-Premise v9. Rated high severity (CVSS 8.8), this vulnerabi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy