# CVE-2018-8212: Device Guard Code Integrity Policy Security Feature Bypass Vulnerability

CVE-2018-8212 is fixed in 14 products on 1 platform, first by KB4284880, released June 12, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-8212
- Priority: Routine
- CVSS: 5.3 (Important)
- EPSS: 0.0227
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Vendor exploitability assessment: Exploitation Less Likely
- Published: Jun 12, 2018
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2018-8212

## Description

<p>A security feature bypass vulnerability exists in Device Guard that could allow an attacker to inject malicious code into a Windows PowerShell session. An attacker who successfully exploited this vulnerability could inject code into a trusted PowerShell process to bypass the Device Guard Code Integrity policy on the local machine.</p> <p>To exploit the vulnerability, an attacker would first have to access the local machine, and then inject malicious code into a script that is trusted by the Code Integrity policy. The injected code would then run with the same trust level as the script and bypass the Code Integrity policy.</p> <p>The update addresses the vulnerability by correcting how PowerShell exposes functions and processes user supplied code.</p>

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Microsoft | Windows 10 Version 1607 for 32-bit Systems | 14393.2312 | [KB4284880](https://patchblox.com/security/data/fix/microsoft/kb4284880.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1607 for x64-based Systems | 14393.2312 | [KB4284880](https://patchblox.com/security/data/fix/microsoft/kb4284880.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1703 for 32-bit Systems | 15063.1155 | [KB4284874](https://patchblox.com/security/data/fix/microsoft/kb4284874.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1703 for x64-based Systems | 15063.1155 | [KB4284874](https://patchblox.com/security/data/fix/microsoft/kb4284874.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1709 for 32-bit Systems | 16299.492 | [KB4284819](https://patchblox.com/security/data/fix/microsoft/kb4284819.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1709 for x64-based Systems | 16299.492 | [KB4284819](https://patchblox.com/security/data/fix/microsoft/kb4284819.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1803 for 32-bit Systems | 17134.112 | [KB4284835](https://patchblox.com/security/data/fix/microsoft/kb4284835.md) | Jun 12, 2018 |
| Microsoft | Windows 10 Version 1803 for x64-based Systems | 17134.112 | [KB4284835](https://patchblox.com/security/data/fix/microsoft/kb4284835.md) | Jun 12, 2018 |
| Microsoft | Windows 10 for 32-bit Systems | 10240.17889 | [KB4284860](https://patchblox.com/security/data/fix/microsoft/kb4284860.md) | Jun 12, 2018 |
| Microsoft | Windows 10 for x64-based Systems | 10240.17889 | [KB4284860](https://patchblox.com/security/data/fix/microsoft/kb4284860.md) | Jun 12, 2018 |
| Microsoft | Windows Server 2016 | 14393.2312 | [KB4284880](https://patchblox.com/security/data/fix/microsoft/kb4284880.md) | Jun 12, 2018 |
| Microsoft | Windows Server 2016 (Server Core installation) | 14393.2312 | [KB4284880](https://patchblox.com/security/data/fix/microsoft/kb4284880.md) | Jun 12, 2018 |
| Microsoft | Windows Server, version 1709  (Server Core Installation) | 16299.492 | [KB4284819](https://patchblox.com/security/data/fix/microsoft/kb4284819.md) | Jun 12, 2018 |
| Microsoft | Windows Server, version 1803  (Server Core Installation) | 17134.112 | [KB4284835](https://patchblox.com/security/data/fix/microsoft/kb4284835.md) | Jun 12, 2018 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
