CVE-2026-54118

Microsoft SQL Server Remote Code Execution Vulnerability

Published Jul 14, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.5% KEV · Not listed
Description
Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.

Analysis

AI-generated

Technical impact

Deserialization of untrusted data during certain SQL Server operations allows an authorized attacker to execute arbitrary code on a networked host. The flaw, identified by CWE-502, permits the crafting of malicious payloads that bypass normal input validation. Based on the description, it is inferred that the attacker must first obtain legitimate database credentials or otherwise be authenticated to supply the dangerous data, after which remote code execution follows.

Affected Systems

Affected versions include Microsoft SQL Server 2016 Service Pack 3 and its Azure Connect Feature Pack, SQL Server 2017 CU 31 and the corresponding GDR, SQL Server 2019 CU 32 and the corresponding GDR, SQL Server 2022 GDR and the CU 25 build for 64‑bit systems, and SQL Server 2025 CU 6 and the corresponding GDR for 64‑bit systems. All impacted releases run on x64 architecture and share the same deserialization defect.

Risk and Exploitability

The CVSS score of 9.8 classifies this flaw as high‑severity, and the EPSS score of 1 % indicates that exploitation attempts are uncommon but possible. Because it is not listed in the CISA KEV catalog, no publicly confirmed exploit exists, yet an authenticated attacker could achieve full remote control of the SQL Server instance and potentially compromise the underlying operating system. The risk profile remains high, warranting immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the cumulative update or GDR that addresses CVE-2026-54118, which can be downloaded from Microsoft’s update guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-54118.
  • Restrict inbound network traffic to the SQL Server by allowing connections only from trusted hosts or IP ranges, and employ firewall rules to minimize exposure to untrusted networks.
  • Enforce least‑privilege policies on SQL Server accounts, ensuring that users operate with the minimum permissions required for their roles to diminish the impact of a successful exploit.

Generated by OpenCVE AI on August 22, 2026 at 10:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Deserialization of untrusted data in SQL Server allows an authorized attacker to execute code over a network. Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Microsoft microsoft Sql Server 2016 Service Pack 3 (gdr)
Microsoft microsoft Sql Server 2016 Service Pack 3 Azure Connect Feature Pack
Microsoft microsoft Sql Server 2017 (cu 31)
Microsoft microsoft Sql Server 2017 (gdr)
Microsoft microsoft Sql Server 2019 (cu 32)
Microsoft microsoft Sql Server 2019 (gdr)
Microsoft microsoft Sql Server 2022 (gdr)
Microsoft microsoft Sql Server 2022 For X64-based Systems (cu 23)
Microsoft microsoft Sql Server 2025 (cu 2)
Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Vendors & Products Microsoft microsoft Sql Server 2016 Service Pack 3 (gdr)
Microsoft microsoft Sql Server 2016 Service Pack 3 Azure Connect Feature Pack
Microsoft microsoft Sql Server 2017 (cu 31)
Microsoft microsoft Sql Server 2017 (gdr)
Microsoft microsoft Sql Server 2019 (cu 32)
Microsoft microsoft Sql Server 2019 (gdr)
Microsoft microsoft Sql Server 2022 (gdr)
Microsoft microsoft Sql Server 2022 For X64-based Systems (cu 23)
Microsoft microsoft Sql Server 2025 (cu 2)
Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Type Values Removed Values Added
Description Deserialization of untrusted data in SQL Server allows an authorized attacker to execute code over a network.
Title Microsoft SQL Server Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft sql Server 2016
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
Weaknesses CWE-502
CPEs cpe:2.3:a:microsoft:sql_server_2016:*:sp3:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2017:*:-:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*
Vendors & Products Microsoft
Microsoft sql Server 2016
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}