CVE-2026-54118 Microsoft SQL Server Remote Code Execution Vulnerability

Critical 9.8 Published Updated

An unauthorized attacker can execute arbitrary code remotely via deserialization of untrusted data in Microsoft SQL Server.

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

What is CVE-2026-54118?

CVE-2026-54118 is a critical unsafe deserialization vulnerability in Microsoft Sql Server 2016, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-502

Which versions are affected by CVE-2026-54118?

It affects 5 products.

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

How do I fix CVE-2026-54118?

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

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-54118 being exploited?

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

All Microsoft Sql Server 2016 vulnerabilities

Sources

Also known as GHSA-c2qv-v7mm-7vwh.

Is CVE-2026-54118 in your software?

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

Check your SBOMs for free