CVE-2025-55227 Microsoft SQL Server Elevation of Privilege Vulnerability

High 8.8 Published Updated

An authorized attacker can execute arbitrary commands to elevate privileges in Microsoft SQL Server via network access.

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-55227?

CVE-2025-55227 is a high-severity command injection vulnerability in Microsoft Sql Server 2016, published on 9 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges over a network.

Weakness: CWE-77

Which versions are affected by CVE-2025-55227?

It affects 4 products.

Products include Microsoft Sql Server 2016, Microsoft Sql Server 2017, Microsoft Sql Server 2019, Microsoft Sql Server 2022.

How do I fix CVE-2025-55227?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-55227 being exploited?

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

All Microsoft Sql Server 2016 vulnerabilities

Sources

Also known as GHSA-8mmr-rphh-45c7.

Is CVE-2025-55227 in your software?

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

Check your SBOMs for free