Skip to content
RCE Advisory Advanced CVE-2026-47297

Microsoft SQL Server Remote Code Execution Vulnerability (CVE-2026-47297)

A deserialisation flaw in Microsoft SQL Server lets an authenticated attacker send a crafted query or request that triggers memory corruption, and the attacker could then run code on the server or raise their privileges to sysadmin. The text gives no technical detail beyond the vendor advisory wording.

Piotr Bazydło Follow

Originally disclosed on Microsoft

High 8.1 View original

Description

Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.

FAQ

According to the CVSS metric, the attack vector is network (AV:N) and the attack complexity is low (AC:L). What does that mean for this vulnerability? The attack vector is Network (AV:N) because this vulnerability is remotely exploitable and can be exploited from the internet. The attack complexity is Low (AC:L) because an attacker does not require significant prior knowledge of the system and can achieve repeatable success with the payload against the vulnerable component.

FAQ

How could an attacker exploit this vulnerability? An authenticated attacker with explicit permissions could exploit the vulnerability by logging in to the SQL server and could then elevate their privileges to sysadmin.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does this mean for this vulnerability? An attacker would need specific conditions to be in place (i.e. particular protocol settings, or configurations, etc.) before an attack could succeed, which reduces the likelihood of widespread or opportunistic exploitation.

FAQ

How could an attacker exploit this vulnerability? An authenticated attacker could exploit this vulnerability by connecting to an affected SQL Server and submitting a specially crafted query or request that triggers a memory corruption condition, allowing the attacker to execute code on the server. Authentication is required; user interaction is not required.

SQL Server

SQL Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Piotr Bazydło (@chudypb). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely unsafe deserialisation of untrusted input inside SQL Server, which leads to memory corruption.

Impact

An authenticated attacker with explicit permissions could execute code on the server and elevate their privileges to sysadmin, though the text also notes some configurations require specific conditions, which reduces opportunistic exploitation.

What the attacker needed

Valid SQL Server account; explicit permissions on the server; specific protocol or config settings may apply

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Deserialisation is when a program turns stored or sent data back into live objects, and if that data is not checked it can be shaped to do things the program did not intend. Here a logged-in database user could send a malicious request that corrupts the server's memory and lets them run their own code. The attacker still needs a valid account on the database first.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Piotr Bazydło

View all

14 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.