Code Injection in Visual Studio - CVE-2026-102870

 

Code Injection in Visual Studio - CVE-2026-102870

Published: October 13, 2026


Vulnerability identifier: #VU154303
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102870
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code in a developer's context.

The vulnerability exists due to improper control of code generation in ASP.NET Core when processing attacker-supplied data during a Blazor WebAssembly debugging session. A remote attacker can supply specially crafted data to an application being debugged to execute arbitrary code in a developer's context.

Exploitation requires a developer to evaluate an affected object.


Affected software

Visual Studio

How to mitigate CVE-2026-102870

Install security update from vendor's website.

Visual Studio - update to 17.14.42

External References

Related Security Bulletins