Synced 16 Jun 2026 15:24 UTC Account
← All patching guides

How to patch Microsoft SQL Server

Microsoft · Database · 6 steps · Microsoft SQL Server security status → · updated June 2026

SQL Server is serviced with Cumulative Updates (CUs) for each major version (Service Packs were retired after SQL 2016). Back up your databases, install the latest CU for your version, and for Always On availability groups patch the secondary first to minimise downtime.

2
actively exploited (KEV)
109
tracked CVEs
17.0.4045.5 CU5
latest supported

Microsoft SQL Server has 2 actively-exploited vulnerabilities on the CISA KEV list — patching is urgent.

Check your current version first

Before you patch, record what you're running (T-SQL):

SELECT @@VERSION;   —or—   SELECT SERVERPROPERTY('ProductVersion'), SERVERPROPERTY('ProductLevel');

Or paste your version into the checker for an instant verdict.

Step by step

1
Check version, edition and patch level

Run SELECT @@VERSION (or SERVERPROPERTY) to record the major version, edition and current build.

2
Find the latest Cumulative Update

Look up the newest CU for your major version on the Microsoft SQL Server build/version list, and read its notes.

3
Back up databases

Back up all databases (system and user) and ideally snapshot the host before patching.

4
Install the CU

Download the CU from the Microsoft Download Center / Update Catalog and run the installer (GUI or /quiet). Reboot if prompted.

5
Patch AGs secondary-first

For Always On availability groups: patch a secondary replica, fail over to it, then patch the former primary — this keeps downtime to a single failover.

6
Verify the build

Confirm with SELECT SERVERPROPERTY('ProductVersion') that the build advanced to the patched CU.

Watch out for:
  • Service Packs no longer exist for current SQL Server — Cumulative Updates are the servicing model.
  • Always back up databases before a CU; test restores periodically.

Official sources

Don't patch blind. Microsoft SQL Server has 2 actively-exploited vulnerabilities on the CISA KEV list — patching is urgent. See exactly which versions are safe and what you're exposed to.

Microsoft SQL Server security status →

Stay ahead of the next one

Frequently asked questions

What is the latest version of Microsoft SQL Server?

As of June 2026, the latest supported Microsoft SQL Server release we track is 17.0.4045.5 CU5. Patch to the current release on your branch and confirm the version after updating.

How do I check which version of Microsoft SQL Server I am running?

Use: SELECT @@VERSION; —or— SELECT SERVERPROPERTY('ProductVersion'), SERVERPROPERTY('ProductLevel'); (T-SQL). Record the result before and after patching to confirm the update applied.

Is Microsoft SQL Server being actively exploited right now?

Yes — 2 Microsoft SQL Server vulnerabilities are on the CISA Known Exploited Vulnerabilities (KEV) list, so attackers are using them in the wild. Patch promptly. See the exploitation radar.

How do I patch Microsoft SQL Server safely without breaking production?

Always test in a non-production environment first, take a backup or snapshot, follow the official vendor advisory, and have a tested rollback. Patch one node at a time for clustered or high-availability setups.

Patch steps are general, well-established guidance for Microsoft SQL Server — always test in a non-production environment first and follow the official Microsoft advisory for your exact version. IsItPatched is independent and not affiliated with Microsoft; this is not a substitute for vendor documentation. See our disclaimer.

← All patching guides · Security guides →