You saw a new Microsoft security notice, and you need to know if your server is safe. This guide shows how to check if a CVE is patched on a Windows Server using the KB number and the OS build. The main rule is the OS build; a missing KB number alone does not mean you are vulnerable.
You can test the following steps on a Windows VPS with Remote Desktop before you run it on production servers.
Choose the CVE and Your Windows Server Edition
You can start by choosing the CVE you want to check. Then, note which Windows Server version you run, such as 2016, 2019, 2022, or 2025.
Each version has its own update and its own fixed build, so you must match them. This keeps the rest of the checks correct. For this guide, we use this example:
- CVE:
CVE-2026-119853, a Windows Remote Access API privilege escalation bug (CVSS 7.8).
- Fixed in: the November 10, 2026 Patch Tuesday updates.
- Server edition: Windows Server 2022.
Always for the CVE details, check the CVE on Microsoft's own page, the MSRC Security Update Guide. Make sure three things match your server:
- Product: the exact Windows Server version, for example Windows Server 2022.
- Fixed build: the build number that has the fix.
- KB number: the update that contains the fix.
Step 1: Match the CVE Fix to a KB and OS Build
Every Windows Server update has a KB number and an OS build number. Microsoft lists both on the update history page for each server version. Open the page for your version and find the update that fixed the CVE. Write down its KB number and build number. You will compare your server to them in the next steps.
This table shows recent Windows Server 2022 updates. A higher build number means a newer update:
| Date |
KB |
OS build |
Type |
| Oct 13, 2026 |
KB5126655 |
20348.5761 |
Security update |
| Oct 26, 2026 |
KB5134140 |
20348.5773 |
Out-of-band |
| Nov 10, 2026 |
KB5131090 |
20348.5870 |
Security update |
| Nov 13, 2026 |
KB5136487 |
20348.5873 |
Out-of-band |
KB5131090 is the first update in the table that has the November security fixes. KB5136487 has a higher build number, so it includes those fixes too. Either one means your server is covered.
Before you install KB5131090, your server needs the servicing stack update (SSU) version 20348.5859 or later. The SSU is the part of Windows that installs updates. To check your version, run this command in Command Prompt as Administrator:
DISM /Online /Get-Packages | findstr /i "ServicingStack"
Look at the Package Identity line in the output. The version must be 20348.5859 or higher.
Step 2: Check the OS Build with PowerShell
The OS build number shows how up to date your server is. It has two parts, including the main number (for example, 20348) and the update number after the dot.
First, run this command in PowerShell as Administrator to read the build number:
$cv = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'"$($cv.ProductName) - build $($cv.CurrentBuild).$($cv.UBR)"
Also, you can run winver or cmd /c ver. Both show the full build.
Then, run the command below to compare it with the fixed build:
$fixed = [version]'10.0.20348.5870'$now = [version]"10.0.$($cv.CurrentBuild).$($cv.UBR)"if ($now -ge $fixed) { "Build is at or above the fixed build" } else { "Build is too old - update needed" }
This is the Windows Server security update build number check. A build equal to or higher than the fixed build means the fix is in, as long as MSRC lists that build for your edition.
Step 3: Check Installed KBs with PowerShell
Every Windows update has a KB number. You can use PowerShell to see which updates are installed on your server. This helps you check if the KB from the advisory is there. If it is not listed, don't worry yet. A newer update may have replaced it, and you will learn how to check that next.
To check installed KB with PowerShell, run the command below:
Get-HotFix -Id KB5131090Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10 HotFixID, InstalledOn
If the KB shows up, the update is installed. If it doesn't, the server may still be patched. Get-HotFix doesn't list every update, and a newer update may have replaced it. You can also check the update packages with:
Get-WindowsPackage -Online | Where-Object PackageName -like '*RollupFix*' | Sort-Object InstallTime -Descending | Select-Object -First 5 PackageName, PackageState, InstallTime
Step 4: Check If a Newer Update Replaced the KB
Windows cumulative updates include the fixes from earlier updates. When a new update comes out, it replaces the older one. This means the KB from the advisory may not be on your server, even though the fix is.
That is why the build number is the safer check. Use this order:
- Compare the build with the fixed build.
- Check the KB list as extra proof.
- Confirm both in MSRC and the release history.
Step 5: Check for a Pending Reboot
An update can be installed but not active until the server restarts. You must run these checks:
Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending"
If you see True, the server still needs a restart. Restart it when it is safe to do so, then check the build again. Do not change these registry keys manually.
If you still see True after the restart, you can follow our guide on Fixing Windows Server Update Stuck. It explains how to find what is stuck and fix it safely.
Step 6: Record Your Results in the Worksheet
At this point, you can put everything you found in one small table. Fill in the "before" column before you update, and the "after" column after the restart. This gives you clear proof of what changed and when.
| Field |
Before |
After |
| CVE |
CVE-2026-119853 |
CVE-2026-119853 |
| Server edition |
Windows Server 2022 |
Windows Server 2022 |
| Check date |
(date you ran the check) |
(date you ran the check) |
| OS build |
20348.5761 |
20348.5870 or higher |
| Cumulative update |
KB5126655 (Oct 13, 2026) |
KB5131090 (Nov 10, 2026) or newer |
| Fixed build in MSRC |
20348.5870 or higher (confirm in MSRC) |
same |
| Pending reboot |
False or True |
False |
| Result |
Not patched |
Patched |
If you cannot confirm the result, or you are not sure it is safe to patch, stop and get help. You can review the PerLod Managed Support plans. Patching and incident fixes are not included by default, so check the plan details before you ask.
Conclusion
To check if a CVE is patched on a Windows Server, you must find the fixed build in MSRC, read your OS build with PowerShell, and compare the two. Use the KB list as extra proof only. Always check for a pending reboot, and remember that newer cumulative updates replace older ones.