# CVE-2026-42898: Microsoft Dynamics 365 code injection

Source: https://junglewise.ai/threats/cve-2026-42898-microsoft-dynamics-365-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-12. Updated: 2026-05-14  
License: CC BY 4.0 with a link back

CVE-2026-42898 · Severity: critical · CVSS 9.9 · Published 2026-05-12

Microsoft Dynamics 365 (on-premises) is a business application suite used for managing customer relationships and enterprise resources. A critical vulnerability allows an authorized user to inject and execute malicious code on the server over the network. This could lead to a complete takeover of the system, unauthorized access to sensitive business data, and disruption of corporate operations.

Technologies: [Microsoft Dynamics 365 (on-premises)](https://junglewise.ai/threats/technologies/dynamics-365-on-premises). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-2026-42898 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-42898 being exploited in the wild.

**How severe is CVE-2026-42898?** Critical severity, with a CVSS score of 9.9, published 12 May 2026.

**Which products and versions are affected?** Microsoft Dynamics 365 (on-premises).

**Is there a fix for CVE-2026-42898?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-42898 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-42898?** Check whether you run Microsoft Dynamics 365 (on-premises). Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A code injection vulnerability (CWE-94) exists in Microsoft Dynamics 365 (on-premises) due to improper control of the generation of code. An attacker with low-privileged credentials can exploit this flaw over a network without user interaction. Successful exploitation allows for arbitrary code execution with a 'Changed' scope (S:C), meaning the attacker can potentially impact components beyond the Dynamics 365 application itself. Microsoft has released security updates to address this issue; administrators should refer to the Microsoft Security Update Guide for specific patch details.

## Affected products

- Microsoft Dynamics 365 (on-premises)

## Timeline

- 2026-05-12: disclosed
- 2026-05-12: advisory

## References

- [https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42898](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42898)

## Related threats

- [Microsoft Dynamics 365 XML external entity injection](https://junglewise.ai/threats/cve-2026-122196-improper-restriction-of-xml-external-entity-reference-in)
- [Microsoft Dynamics 365 privilege escalation](https://junglewise.ai/threats/cve-2026-40371-microsoft-dynamics-365-privilege-escalation)
- [Microsoft Dynamics 365 code injection](https://junglewise.ai/threats/cve-2026-42833-microsoft-dynamics-365-code-injection)
- [Microsoft Dynamics 365 improper access control in on-premises version](https://junglewise.ai/threats/cve-2026-33103-microsoft-dynamics-365-improper-access-control-in-on-premises)
