Skip to main content

GHSA-6856-87hx-p5x7 — Vulnerability in Microsoft.TestPlatform.CLI

MEDIUM

Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability

Published November 11, 2026Updated November 11, 2026Source: OSV

Does your project use an affected Microsoft.TestPlatform.CLI version?

Paste your packages.lock.json to check it for GHSA-6856-87hx-p5x7 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

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

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

PackageAffected versionPatched version
Microsoft.TestPlatform.CLI>= 17.2.0-preview-20220301-01, < 17.3.017.3.4
Microsoft.TestPlatform.CLI= 17.3.017.3.4
Microsoft.TestPlatform.CLI= 17.3.117.3.4
Microsoft.TestPlatform.CLI= 17.3.217.3.4
Microsoft.TestPlatform.CLI= 17.3.317.3.4
Microsoft.TestPlatform.CLI= 17.8.017.8.1
Microsoft.TestPlatform.CLI= 17.11.017.11.2
Microsoft.TestPlatform.CLI= 17.11.117.11.2
Microsoft.TestPlatform.CLI= 17.12.017.12.1
Microsoft.TestPlatform.CLI= 17.14.017.14.2
Microsoft.TestPlatform.CLI= 17.14.117.14.2
Microsoft.TestPlatform.CLI= 18.0.018.0.2
Microsoft.TestPlatform.CLI= 18.0.118.0.2
Microsoft.TestPlatform.CLI= 18.7.018.7.1
Microsoft.TestPlatform.CLI= 18.10.018.10.2
Microsoft.TestPlatform.CLI= 18.10.118.10.2
Microsoft.TestPlatform.CLI= 18.11.018.11.1

Stable 18.10.1 remains affected; use Microsoft.TestPlatform.CLI 18.10.2 on that servicing line.

Other affected VSTest NuGet versions

PackageAffected versionPatched version
Microsoft.TestPlatform.CLI= 17.4.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.4.1Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.5.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.6.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.6.1Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.6.2Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.6.3Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.7.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.7.1Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.7.2Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.9.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.10.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 17.13.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.3.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.4.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.5.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.5.1Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.6.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.8.0Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.8.1Use a compatible patched version listed above
Microsoft.TestPlatform.CLI= 18.9.0Use a compatible patched version listed above

These releases have no same-line fixed package in this update. Move to a compatible fixed servicing line listed above.

Affected VSTest prerelease versions

The following table applies to Microsoft.TestPlatform.CLI.

Affected versionPatched version
= 17.3.0-preview-20220426-02Use a compatible patched version listed above
= 17.3.0-preview-20220530-08Use a compatible patched version listed above
= 17.3.0-preview-20220612-01Use a compatible patched version listed above
= 17.4.0-preview-20220707-01Use a compatible patched version listed above
= 17.4.0-preview-20220726-02Use a compatible patched version listed above
= 17.4.0-preview-20221003-03Use a compatible patched version listed above
= 17.4.0-release-20220926-01Use a compatible patched version listed above
= 17.5.0-preview-20221003-04Use a compatible patched version listed above
= 17.5.0-preview-20221221-03Use a compatible patched version listed above
= 17.6.0-preview-20230223-05Use a compatible patched version listed above
= 17.7.0-preview-23364-03Use a compatible patched version listed above
= 17.7.0-preview.23280.1Use a compatible patched version listed above
= 17.8.0-preview-23371-04Use a compatible patched version listed above
= 17.8.0-preview-23424-02Use a compatible patched version listed above
= 17.8.0-release-23468-02Use a compatible patched version listed above
= 17.9.0-preview-23503-02Use a compatible patched version listed above
= 17.9.0-preview-23531-01Use a compatible patched version listed above
= 17.9.0-preview-23577-04Use a compatible patched version listed above
= 17.9.0-release-23619-01Use a compatible patched version listed above
= 17.10.0-preview-24080-01Use a compatible patched version listed above
= 17.10.0-release-24177-07Use a compatible patched version listed above
= 17.11.0-release-24352-06Use a compatible patched version listed above
= 17.11.0-release-24373-02Use a compatible patched version listed above
= 17.14.0-preview-25107-01Use a compatible patched version listed above

Fixed .NET SDK deliveries

PackageAffected versionPatched version
.NET SDK 8.0.1xx>= 8.0.100, <= 8.0.1338.0.134 (bundled VSTest: 17.8.1-hotfix-26528-33)
.NET SDK 8.0.4xx>= 8.0.400, <= 8.0.4278.0.428 (bundled VSTest: 17.11.2-hotfix-26528-32)
.NET SDK 9.0.1xx>= 9.0.100, <= 9.0.1239.0.124 (bundled VSTest: 17.12.1-hotfix-26528-39)
.NET SDK 9.0.3xx>= 9.0.300, <= 9.0.3209.0.321 (bundled VSTest: 17.14.2-hotfix-26528-35)
.NET SDK 10.0.1xx>= 10.0.100, <= 10.0.11410.0.115 (bundled VSTest: 18.0.2-hotfix-26529-108)
.NET SDK 10.0.4xx>= 10.0.400, <= 10.0.40310.0.404 (bundled VSTest: 18.7.1-hotfix-26529-119)
.NET SDK 11.0.1xx>= 11.0.100-preview.1.26104.118, <= 11.0.100-rc.3.26522.14811.0.100 (bundled VSTest: 18.12.0-hotfix-26529-118)

Earlier SDKs in these serviced feature bands must be updated. The first .NET 11 general-availability SDK is fixed; its earlier preview and release-candidate SDKs require an update to 11.0.100.

Advisory FAQ

How do I know if I am affected?

Check the version of Microsoft.TestPlatform.CLI used by your standalone VSTest installation.

Run dotnet --list-sdks to list installed SDKs and dotnet --version from the project directory to identify the selected SDK, including any global.json selection.

How do I fix the issue?

For standalone VSTest CLI installations, replace Microsoft.TestPlatform.CLI with its patched version listed above. For releases without a same-line fix, use a compatible fixed servicing line listed above.

Install a fixed SDK listed above and ensure test invocations select it. Updating a separately installed CLI package does not replace VSTest embedded in an older SDK.

Other Information

Reporting Security Issues

If you have found a potential security issue in a supported version of .NET, please report it to the Microsoft Security Response Center (MSRC) via the MSRC Researcher Portal. Further information can be found in the MSRC Report an Issue FAQ.

Security reports made through MSRC may qualify for the Microsoft .NET Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at https://aka.ms/corebounty.

Support

You can ask questions about this issue in the VSTest repository at https://github.com/microsoft/vstest. The Announcements repo (https://github.com/dotnet/Announcements) will contain this bulletin as an issue and will include a link to a discussion issue. You can ask questions in the linked discussion issue.

Disclaimer

The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.

External Links

CVE-2026-105544

Acknowledgements

Revisions

V1.0 (November 10, 2026): Advisory published.

Advisory Timeline

  • First published November 11, 2026 (15 days ago).
  • Last revised November 11, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.TestPlatform.CLI to 17.3.4 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.3.4
NuGet
Update Microsoft.TestPlatform.CLI to 17.3.4 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.3.4
NuGet
Update Microsoft.TestPlatform.CLI to 17.8.1 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.8.1
NuGet
Update Microsoft.TestPlatform.CLI to 18.0.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 18.0.2
NuGet
Update Microsoft.TestPlatform.CLI to 17.3.4 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.3.4
NuGet
Update Microsoft.TestPlatform.CLI to 17.3.4 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.3.4
NuGet
Update Microsoft.TestPlatform.CLI to 17.3.4 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.3.4
NuGet
Update Microsoft.TestPlatform.CLI to 17.12.1 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.12.1
NuGet
Update Microsoft.TestPlatform.CLI to 17.11.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.11.2
NuGet
Update Microsoft.TestPlatform.CLI to 18.10.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 18.10.2
NuGet
Update Microsoft.TestPlatform.CLI to 17.14.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.14.2
NuGet
Update Microsoft.TestPlatform.CLI to 18.0.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 18.0.2
NuGet
Update Microsoft.TestPlatform.CLI to 17.14.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.14.2
NuGet
Update Microsoft.TestPlatform.CLI to 17.11.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 17.11.2
NuGet
Update Microsoft.TestPlatform.CLI to 18.10.2 or later
dotnet add package Microsoft.TestPlatform.CLI --version 18.10.2
NuGet
Update Microsoft.TestPlatform.CLI to 18.11.1 or later
dotnet add package Microsoft.TestPlatform.CLI --version 18.11.1
NuGet
Update Microsoft.TestPlatform.CLI to 18.7.1 or later
dotnet add package Microsoft.TestPlatform.CLI --version 18.7.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (59)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Microsoft.TestPlatform.CLI NuGet · Affected: 17.2.0, 17.2.0-preview-20220301-01, 17.2.0-preview-20220401-07, 17.2.0-preview-20220401-08 (+8 more)17.3.4
Microsoft.TestPlatform.CLI NuGet · Affected: 17.9.0-preview-23503-02No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.3.2, 17.3.317.3.4
Microsoft.TestPlatform.CLI NuGet · Affected: 17.7.2No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.8.017.8.1
Microsoft.TestPlatform.CLI NuGet · Affected: 17.4.0-preview-20220726-02No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.4.0-preview-20220707-01No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.10.0-preview-24080-01No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.0.118.0.2
Microsoft.TestPlatform.CLI NuGet · Affected: 17.9.0-preview-23577-04No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.9.0-preview-23531-01No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.10.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.4.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.4.0-preview-20221003-03No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.3.1, 17.3.2, 17.3.317.3.4
Microsoft.TestPlatform.CLI NuGet · Affected: 17.13.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.8.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.6.0-preview-20230223-05No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.3.0, 17.3.1, 17.3.2, 17.3.317.3.4
Microsoft.TestPlatform.CLI NuGet · Affected: 17.4.0-release-20220926-01No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.14.0-preview-25107-01No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.9.0-release-23619-01No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.3.317.3.4
Microsoft.TestPlatform.CLI NuGet · Affected: 17.11.0-release-24373-02No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.7.0-preview-23364-03No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.12.017.12.1
Microsoft.TestPlatform.CLI NuGet · Affected: 17.6.3No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.7.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.11.0, 17.11.117.11.2
Microsoft.TestPlatform.CLI NuGet · Affected: 18.10.0, 18.10.118.10.2
Microsoft.TestPlatform.CLI NuGet · Affected: 18.3.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.8.0-release-23468-02No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.5.0-preview-20221221-03No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.6.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.5.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.7.0-preview.23280.1No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.8.0-preview-23371-04No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.4.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.5.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.6.2No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.7.1No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.6.1No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.14.0, 17.14.117.14.2
Microsoft.TestPlatform.CLI NuGet · Affected: 17.6.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.0.0, 18.0.118.0.2
Microsoft.TestPlatform.CLI NuGet · Affected: 18.8.1No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.5.0-preview-20221003-04No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.14.117.14.2
Microsoft.TestPlatform.CLI NuGet · Affected: 18.5.1No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.11.117.11.2
Microsoft.TestPlatform.CLI NuGet · Affected: 18.10.118.10.2
Microsoft.TestPlatform.CLI NuGet · Affected: 17.10.0-release-24177-07No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.4.1No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.11.0-release-24352-06No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.9.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 17.8.0-preview-23424-02No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.9.0No fix available
Microsoft.TestPlatform.CLI NuGet · Affected: 18.11.018.11.1
Microsoft.TestPlatform.CLI NuGet · Affected: 18.7.018.7.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is GHSA-6856-87hx-p5x7?
Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.5/10).
How do I check if my project is affected by GHSA-6856-87hx-p5x7?
GHSA-6856-87hx-p5x7 affects Microsoft.TestPlatform.CLI. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-6856-87hx-p5x7 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

Related CVEs

  • CVE-2026-114154
    MEDIUM

    Microsoft Security Advisory CVE-2026-114154 - ASP.NET Core Denial of Service Vulnerability

  • CVE-2026-114157
    MEDIUM

    Microsoft Security Advisory CVE-2026-114157 - ASP.NET Core Security Feature Bypass Vulnerability

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json