CVE-2025-58112 SQL injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary SQL commands via malicious RDL files in Dynamics 365, potentially leading to OS command execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-58112?

CVE-2025-58112 is a high-severity SQL injection vulnerability in n/a, published on 18 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Microsoft Dynamics 365 Customer Engagement (on-premises) 1612 (9.0.2.3034) allows the generation of customized reports via raw SQL queries in an upload of a .rdl (Report Definition Language) file; this is then processed by the SQL Server Reporting Service. An account with the privilege Add Reporting Services Reports can upload a malicious rdl file. If the malicious rdl file is already loaded and it is executable by the user, the Add Reporting Services Reports privilege is not required. A malicious actor can trigger the generation of the report, causing the execution of arbitrary SQL commands in the underlying database. Depending on the permissions of the account running SQL Server Reporting Services, the attacker may be able to perform additional actions, such as accessing linked servers or executing operating system commands.

Weakness: CWE-89

Which versions are affected by CVE-2025-58112?

How do I fix CVE-2025-58112?

No fix has been published for CVE-2025-58112 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-58112 being exploited?

There is no known exploitation of CVE-2025-58112 in the wild and no public exploit code.

Sources

Also known as GHSA-6gc4-74vr-7h94.

Is CVE-2025-58112 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free