CVE-2020-16886

published 16 Oct 2020 · updated 4 Aug 2024

PowerShellGet Module WDAC Security Feature Bypass Vulnerability

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in PowerShellGet publication.

<p>A security feature bypass vulnerability exists in the PowerShellGet V2 module. An attacker who successfully exploited this vulnerability could bypass WDAC (Windows Defender Application Control) policy and execute arbitrary code on a policy locked-down machine.</p> <p>An attacker must have administrator privileges to create a configuration that includes installing PowerShellGet V2 module onto a machine from the PowerShell Gallery. The WDAC policy must be configured to allow the module to run. After this is done, PowerShell script can be injected and run fully trusted, allowing the attacker arbitrary code execution on the machine.</p> <p>The update addresses the vulnerability by changing how URLs are processed.</p>

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MicrosoftPowerShellGet>=1.0.0 <publicationpublication

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Microsoft, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-16886 severity on Zeptric[![CVE-2020-16886](https://zeptric.io/badge/cve/CVE-2020-16886.svg)](https://zeptric.io/cve/CVE-2020-16886)