CVE-2021-31199: Microsoft Enhanced Cryptographic Provider Privilege Escalation Vulnerability
Yes. CVE-2021-31199 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 3 November 2021. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 3.0%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 3 November 2021
- Used in ransomware
- Not known
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 3.0% in the next 30 days, higher than 87.7% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 5.2 Medium (version 3.1)
- Affects
- Microsoft Enhanced Cryptographic Provider
- Published
- 8 June 2021
- US federal patch deadline
- 17 November 2021
What it is
Microsoft Enhanced Cryptographic Provider contains an unspecified vulnerability that allows for privilege escalation.
Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability
Description from the CVE record.
Is CVE-2021-31199 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2021-31199 on 3 November 2021.
Affected products
- Microsoft Windows 10 Version 1809: 10.0.0 up to (not including) 10.0.17763.1999
- Microsoft Windows Server 2019: 10.0.0 up to (not including) 10.0.17763.1999
- Microsoft Windows Server 2019 (Server Core installation): 10.0.0 up to (not including) 10.0.17763.1999
- Microsoft Windows 10 Version 1909: 10.0.0 up to (not including) 10.0.18363.1621
- Microsoft Windows 10 Version 21H1: 10.0.0 up to (not including) 10.0.19043.1052
- Microsoft Windows 10 Version 2004: 10.0.0 up to (not including) 10.0.19041.1052
- Microsoft Windows Server version 2004: 10.0.0 up to (not including) 10.0.19041.1052
- Microsoft Windows 10 Version 20H2: 10.0.0 up to (not including) 10.0.19042.1052
- Microsoft Windows Server version 20H2: 10.0.0 up to (not including) 10.0.19042.1052
- Microsoft Windows 10 Version 1507: 10.0.0 up to (not including) 10.0.10240.18967
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply updates per vendor instructions.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Microsoft Enhanced Cryptographic Provider runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Enhanced Cryptographic Provider. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Microsoft products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-139934 | Microsoft Azure API Management (APIM) | No public exploit found | 2.8% | 3 December 2026 |
| CVE-2026-124194 | Microsoft Office | No public exploit found | 24.9% | 10 November 2026 |
| CVE-2026-96951 | Microsoft Windows | No public exploit found | 13.1% | 13 October 2026 |
| CVE-2026-65660 | Microsoft SharePoint | No public exploit found | 9.9% | 11 August 2026 |
| CVE-2026-81963 | Microsoft Windows | No public exploit found | 9.7% | 8 September 2026 |
| CVE-2026-85880 | Microsoft Windows | No public exploit found | 5.4% | 8 September 2026 |
Sources
- CVE record for CVE-2021-31199
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- portal.msrc.microsoft.com (x_refsource_MISC)
Machine-readable: /api/cve/CVE-2021-31199.json