# CVE-2017-8746: Device Guard Code Integrity Policy Security Feature Bypass Vulnerability

CVE-2017-8746 is fixed in 6 products on 1 platform, first by KB4038782, released September 12, 2017. It is not reported as exploited. Patch Radar priority: Routine.

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

## 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.1715 | [KB4038782](https://patchblox.com/security/data/fix/microsoft/kb4038782.md) | Sep 12, 2017 |
| Microsoft | Windows 10 Version 1607 for x64-based Systems | 14393.1715 | [KB4038782](https://patchblox.com/security/data/fix/microsoft/kb4038782.md) | Sep 12, 2017 |
| Microsoft | Windows 10 Version 1703 for 32-bit Systems | 15063.608 | [KB4038788](https://patchblox.com/security/data/fix/microsoft/kb4038788.md) | Sep 12, 2017 |
| Microsoft | Windows 10 Version 1703 for x64-based Systems | 15063.608 | [KB4038788](https://patchblox.com/security/data/fix/microsoft/kb4038788.md) | Sep 12, 2017 |
| Microsoft | Windows Server 2016 | 14393.1715 | [KB4038782](https://patchblox.com/security/data/fix/microsoft/kb4038782.md) | Sep 12, 2017 |
| Microsoft | Windows Server 2016 (Server Core installation) | 14393.1715 | [KB4038782](https://patchblox.com/security/data/fix/microsoft/kb4038782.md) | Sep 12, 2017 |

---

Data as of 2026-11-07T06:34:28Z 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
