What’s Vulnerable › Vulnerabilities

GHSA-6856-87hx-p5x7: Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability

Description

## Executive summary Microsoft is releasing this security advisory to provide information about a vulnerability in .NET. This advisory provides guidance on updating affected applications and components. The VSTest artifact postprocessor can consume a forged `executionComplete.json` from another local user and execute attacker-controlled output handling. ## Announcement Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/517 ## CVSS Details - **Version:** 3.1 - **Severity:** High - **Score:** 7.5 (base score) - **Vector:** `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C` - **Weakness:** CWE-284 ## Affected Platforms - **Platforms:** Windows, Linux, macOS - **Architectures:** All ## <a name="affected-packages"></a>Affected Packages The tables list affected versions of Microsoft.TestPlatform.CLI and their patched versions. The VSTest CLI is also bundled in the .NET SDK; SDK versions are listed separately below. Updating a separately installed CLI package does not replace the SDK-bundled test runner. Microsoft.TestPlatform.CLI is affected starting with 17.2.0-preview-20220301-01, including the first stable release, 17.2.0. Use a patched version listed below for a compatible servicing line. ### VSTest NuGet package Package | Affected version | Patched version --- | --- | --- [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | >= 17.2.0-preview-20220301-01, < 17.3.0 | 17.3.4 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.3.0 | 17.3.4 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.3.1 | 17.3.4 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.3.2 | 17.3.4 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.3.3 | 17.3.4 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.8.0 | 17.8.1 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.11.0 | 17.11.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.11.1 | 17.11.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.12.0 | 17.12.1 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.14.0 | 17.14.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.14.1 | 17.14.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 18.0.0 | 18.0.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 18.0.1 | 18.0.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 18.7.0 | 18.7.1 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 18.10.0 | 18.10.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 18.10.1 | 18.10.2 [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 18.11.0 | 18.11.1 Stable 18.10.1 remains affected; use Microsoft.TestPlatform.CLI 18.10.2 on that servicing line. ### Other affected VSTest NuGet versions Package | Affected version | Patched version --- | --- | --- [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.4.0 | Use a compatible patched version listed above [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.4.1 | Use a compatible patched version listed above [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.5.0 | Use a compatible patched version listed above [Microsoft.TestPlatform.CLI](https://www.nuget.org/packages/Microsoft.TestPlatform.CLI) | = 17.6.0 | Use a compatible pa

Affected products

How to fix

Upgrade to a fixed version: Nuget Microsoft.Testplatform.Cli 17.3.4, 17.8.1, 17.11.2, 17.12.1. Check the vendor advisory for mitigations.

References

Get alerted when GHSA-6856-87hx-p5x7 or the next vulnerability affects your stack