{"schemaVersion":3,"id":"CVE-2021-36934","aliases":[],"status":"published","duplicateOf":null,"title":"Microsoft Windows SAM Local Privilege Escalation Vulnerability","description":"An elevation of privilege vulnerability exists because of overly permissive Access Control Lists (ACLs) on multiple system files, including the Security Accounts Manager (SAM) database. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.\nAn attacker must have the ability to execute code on a victim system to exploit this vulnerability.\nAfter installing this security update, you must manually delete all shadow copies of system files, including the SAM database, to fully mitigate this vulnerabilty. Simply installing this security update will not fully mitigate this vulnerability. See KB5005357- Delete Volume Shadow Copies.","dates":{"published":"2021-07-22T07:05:12.000Z","modified":"2026-08-10T15:11:26.655Z","reserved":null,"kevAdded":["2022-02-10T00:00:00.000Z"],"kevDue":["2022-02-24T00:00:00.000Z"]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:T/RC:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:T/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.67252,"percentile":0.99301,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.67252},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.67252,"percentile":0.99301}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.67252,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.67252,"percentile":0.99301}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-02-10T00:00:00.000Z","dueDate":"2022-02-24T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Microsoft Windows SAM Local Privilege Escalation Vulnerability","description":"If a Volume Shadow Copy (VSS) shadow copy of the system drive is available, users can read the SAM file which would allow any user to escalate privileges to SYSTEM level.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2021-36934","label":"nvd.nist.gov/vuln/detail/CVE-2021-36934"}],"vendor":"Microsoft","product":"Windows","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-02-10T00:00:00.000Z","dueDate":"2022-02-24T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Microsoft Windows SAM Local Privilege Escalation Vulnerability","description":"If a Volume Shadow Copy (VSS) shadow copy of the system drive is available, users can read the SAM file which would allow any user to escalate privileges to SYSTEM level.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2021-36934","label":"nvd.nist.gov/vuln/detail/CVE-2021-36934"}],"vendor":"Microsoft","product":"Windows","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_POST_WINDOWS_GATHER_CREDENTIALS_WINDOWS_SAM_HIVENIGHTMARE","name":"Windows SAM secrets leak - HiveNightmare","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/post/windows/gather/credentials/windows_sam_hivenightmare.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"local","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"post/windows/gather/credentials/windows_sam_hivenightmare","rank":"300","rankName":"normal","postAuth":false,"check":false,"stability":["crash-safe"],"sideEffects":[],"reliability":[]}}],"exploitCount":1,"weaknesses":[],"affected":[{"vendor":"microsoft","product":"windows_10_1809","name":"windows 10 1809","label":"windows_10_1809","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 10.0.17763.2114","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.17763.2114","eol":null,"hubHref":"/vendor/microsoft/windows_10_1809"},{"vendor":"microsoft","product":"windows_10_1909","name":"windows 10 1909","label":"windows_10_1909","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 10.0.18363.1734","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.18363.1734","eol":null,"hubHref":"/vendor/microsoft/windows_10_1909"},{"vendor":"microsoft","product":"windows_10_2004","name":"windows 10 2004","label":"windows_10_2004","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 10.0.19041.1165","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.19041.1165","eol":null,"hubHref":"/vendor/microsoft/windows_10_2004"},{"vendor":"microsoft","product":"windows_10_20h2","name":"windows 10 20h2","label":"windows_10_20h2","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 10.0.19042.1165","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.19042.1165","eol":null,"hubHref":"/vendor/microsoft/windows_10_20h2"},{"vendor":"microsoft","product":"windows_10_21h1","name":"windows 10 21h1","label":"windows_10_21h1","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 10.0.19043.1165","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.19043.1165","eol":null,"hubHref":"/vendor/microsoft/windows_10_21h1"},{"vendor":"microsoft","product":"windows 10 version 1809","name":"Windows 10 Version 1809","label":"windows 10 version 1809","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.17763.0, < 10.0.17763.2114","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0.0, < 10.0.17763.2114","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.17763.0, < 10.0.17763.2114 | ≥ 10.0.0, < 10.0.17763.2114","eol":null,"hubHref":"/vendor/microsoft/windows_10_version_1809"},{"vendor":"microsoft","product":"windows 10 version 1909","name":"Windows 10 Version 1909","label":"windows 10 version 1909","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 10.0.18363.1734","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 10.0.18363.1734","eol":null,"hubHref":"/vendor/microsoft/windows_10_version_1909"},{"vendor":"microsoft","product":"windows 10 version 2004","name":"Windows 10 Version 2004","label":"windows 10 version 2004","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 10.0.19041.1165","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 10.0.19041.1165","eol":null,"hubHref":"/vendor/microsoft/windows_10_version_2004"},{"vendor":"microsoft","product":"windows 10 version 20h2","name":"Windows 10 Version 20H2","label":"windows 10 version 20h2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 10.0.19042.1165","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 10.0.19042.1165","eol":null,"hubHref":"/vendor/microsoft/windows_10_version_20h2"},{"vendor":"microsoft","product":"windows 10 version 21h1","name":"Windows 10 Version 21H1","label":"windows 10 version 21h1","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 10.0.19043.1165","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 10.0.19043.1165","eol":null,"hubHref":"/vendor/microsoft/windows_10_version_21h1"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36934","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36934","hostname":"msrc.microsoft.com","tags":["Vendor Advisory","Patch"]},{"url":"https://www.kb.cert.org/vuls/id/506989","label":"www.kb.cert.org/vuls/id/506989","hostname":"www.kb.cert.org","tags":["Third Party Advisory"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-36934","label":"portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-36934","hostname":"portal.msrc.microsoft.com","tags":["X Refsource MISC","X Transferred","Patch","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/164006/HiveNightmare-AKA-SeriousSAM.html","label":"packetstormsecurity.com/files/164006/HiveNightmare-AKA-SeriousSAM.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","X Transferred","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-36934","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-36934","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-07-22T07:05:12.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-02-10T00:00:00.000Z","label":"Added to CISA KEV","detail":"Microsoft Windows SAM Local Privilege Escalation Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-02-24T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2026-08-10T15:11:26.655Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:33:42.309Z","stale":false,"partial":false}}