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
    • 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-2025-58112

CVE-2025-58112: Dynamics 365 SQL Injection Vulnerability

CVE-2025-58112 is a SQL injection vulnerability in Microsoft Dynamics 365 Customer Engagement that allows attackers to execute arbitrary SQL commands via malicious .rdl files. This article covers technical details, impact, and mitigation.

Published: March 20, 2026

CVE-2025-58112 Overview

CVE-2025-58112 is a SQL Injection vulnerability in Microsoft Dynamics 365 Customer Engagement (on-premises) version 1612 (9.0.2.3034). The vulnerability exists in the report generation functionality, which allows the upload and processing of Report Definition Language (RDL) files containing raw SQL queries. These files are processed by SQL Server Reporting Services (SSRS), enabling attackers with the "Add Reporting Services Reports" privilege to execute arbitrary SQL commands against the underlying database.

Critical Impact

Attackers can execute arbitrary SQL commands in the underlying database, potentially accessing linked servers or executing operating system commands depending on SSRS service account permissions.

Affected Products

  • Microsoft Dynamics 365 Customer Engagement (on-premises) 1612 (9.0.2.3034)

Discovery Timeline

  • 2026-03-18 - CVE CVE-2025-58112 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2025-58112

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), affecting the report generation mechanism in Microsoft Dynamics 365 Customer Engagement. The flaw stems from the application's handling of RDL files, which are XML-based documents used to define SQL Server Reporting Services reports.

When a user uploads an RDL file containing custom SQL queries, the application processes these queries through SQL Server Reporting Services without adequate validation or sanitization of the embedded SQL statements. This allows an attacker to craft malicious RDL files containing arbitrary SQL commands that will be executed when the report is generated.

The attack surface extends beyond simple data exfiltration. Depending on the permissions granted to the SQL Server Reporting Services account, an attacker may leverage this vulnerability to access linked servers within the database infrastructure or execute operating system commands through mechanisms such as xp_cmdshell, leading to potential system-level compromise.

Root Cause

The root cause of this vulnerability lies in insufficient input validation of SQL queries embedded within uploaded RDL files. The application trusts the contents of RDL files and passes embedded queries directly to SQL Server Reporting Services for execution without proper sanitization or parameterization. This trust relationship between the application and SSRS creates an injection point where malicious SQL can be introduced.

Attack Vector

The attack requires network access and low-privilege authentication. An attacker must possess an account with the "Add Reporting Services Reports" privilege to upload a malicious RDL file. However, if a malicious RDL file has already been uploaded to the system and is executable by the user, the upload privilege is not required—the attacker simply needs to trigger the report generation to execute the embedded SQL commands.

The attack flow involves crafting an RDL file containing malicious SQL statements within the report's data source definition or dataset queries. Upon triggering report generation, the embedded SQL commands execute with the privileges of the SSRS service account, potentially allowing escalation to database administrator or even operating system-level access.

Detection Methods for CVE-2025-58112

Indicators of Compromise

  • Suspicious RDL file uploads containing unusual SQL commands such as xp_cmdshell, OPENROWSET, or queries targeting system tables
  • Unexpected SQL Server Reporting Services activity, particularly report executions that coincide with database anomalies
  • Audit logs showing privilege escalation attempts or access to linked servers from SSRS processes

Detection Strategies

  • Monitor SQL Server audit logs for queries originating from SSRS that contain suspicious patterns such as system stored procedures or dynamic SQL execution
  • Implement file integrity monitoring on the ReportServer database and RDL file storage locations
  • Configure alerts for RDL file uploads by users outside of approved report development roles

Monitoring Recommendations

  • Enable detailed logging for SQL Server Reporting Services, including execution logs and data source access patterns
  • Implement database activity monitoring to detect anomalous queries executed under SSRS service account context
  • Review and audit all existing RDL files for embedded SQL queries that may indicate prior compromise

How to Mitigate CVE-2025-58112

Immediate Actions Required

  • Audit all accounts with "Add Reporting Services Reports" privilege and restrict to essential personnel only
  • Review existing RDL files in the system for potentially malicious SQL content
  • Implement network segmentation to limit access to SSRS endpoints from untrusted networks
  • Consider temporarily disabling RDL upload functionality until patches are applied

Patch Information

Organizations should monitor Microsoft's official security advisories for patches addressing this vulnerability. Additional technical details and proof-of-concept information may be available in the security researcher's GitHub Gist.

Workarounds

  • Restrict the "Add Reporting Services Reports" privilege to a minimal set of trusted administrators
  • Configure SQL Server Reporting Services to run under a low-privilege service account with minimal database permissions
  • Disable xp_cmdshell and other dangerous extended stored procedures on the SQL Server instance
  • Implement stored procedure execution restrictions to prevent linked server access from SSRS queries

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechMicrosoft Dynamics 365

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Gist Resource

  • Microsoft Official Website
  • Related CVEs
  • CVE-2025-30391: Dynamics 365 Information Disclosure Flaw

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

  • CVE-2022-23259: Microsoft Dynamics 365 RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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