CVE-2021-31166
Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability
- Actively exploited
- Critical · 9.8 of 10
- Exploited since
- 6 Apr 2022 added to the CISA list
- Chance of attacks
- 100% in the next 30 days (FIRST EPSS)
- Fix deadline
- 27 Apr 2022 for US federal agencies
- Published
- 11 May 2021 in the NVD
What this means
Microsoft HTTP Protocol Stack contains a vulnerability in http.sys that allows for remote code execution.
CISA
HTTP Protocol Stack Remote Code Execution Vulnerability
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- Microsoft Windows 10 Version 2004
- Microsoft Windows Server version 2004
- Microsoft Windows 10 Version 20H2
- Microsoft Windows Server version 20H2
Official sources
- nvd.nist.gov/vuln/detail/CVE-2021-31166
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166 vendor advisory
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166 vendor advisory
- packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.h...
- packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.h...
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 19 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.