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
Ubuntu
Fedora
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
dotnet-hostfxr-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8 (Ubuntu package)
dotnet-host-10.0 (Ubuntu package)
dotnet-runtime-10.0 (Ubuntu package)
aspnetcore-runtime-10.0 (Ubuntu package)
dotnet-hostfxr-10.0 (Ubuntu package)
dotnet-sdk-aot-10.0 (Ubuntu package)
dotnet-sdk-10.0 (Ubuntu package)
dotnet-sdk-dbg-10.0 (Ubuntu package)
dotnet10 (Ubuntu package)
aspnetcore-runtime-11.0 (Ubuntu package)
dotnet-host-11.0 (Ubuntu package)
dotnet-hostfxr-11.0 (Ubuntu package)
dotnet-runtime-11.0 (Ubuntu package)
dotnet-sdk-11.0 (Ubuntu package)
dotnet-sdk-aot-11.0 (Ubuntu package)
dotnet-sdk-dbg-11.0 (Ubuntu package)
dotnet11 (Ubuntu package)
dotnet10.0

How to mitigate CVE-2026-102870

Install security update from vendor's website.

Visual Studio - update to 17.14.42
aspnetcore-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.32-0ubuntu1~22.04.1, 8.0.32-0ubuntu1~24.04.1
dotnet-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.32-0ubuntu1~22.04.1, 8.0.32-0ubuntu1~24.04.1
dotnet-hostfxr-8.0 (Ubuntu package) - addressed in versions 8.0.32-0ubuntu1~22.04.1, 8.0.32-0ubuntu1~24.04.1
dotnet-host-8.0 (Ubuntu package) - addressed in versions 8.0.32-0ubuntu1~22.04.1, 8.0.32-0ubuntu1~24.04.1
dotnet-sdk-8.0 (Ubuntu package) - addressed in versions 8.0.132-0ubuntu1~22.04.1, 8.0.132-0ubuntu1~24.04.1
dotnet8 (Ubuntu package) - addressed in versions 8.0.132-8.0.32-0ubuntu1~22.04.1, 8.0.132-8.0.32-0ubuntu1~24.04.1
dotnet-host-10.0 (Ubuntu package) - addressed in versions 10.0.13-0ubuntu1~24.04.1, 10.0.13-0ubuntu1~26.04.1, 10.0.13-0ubuntu1~26.10.1
dotnet-runtime-10.0 (Ubuntu package) - addressed in versions 10.0.13-0ubuntu1~24.04.1, 10.0.13-0ubuntu1~26.04.1, 10.0.13-0ubuntu1~26.10.1
aspnetcore-runtime-10.0 (Ubuntu package) - addressed in versions 10.0.13-0ubuntu1~24.04.1, 10.0.13-0ubuntu1~26.04.1, 10.0.13-0ubuntu1~26.10.1
dotnet-hostfxr-10.0 (Ubuntu package) - addressed in versions 10.0.13-0ubuntu1~24.04.1, 10.0.13-0ubuntu1~26.04.1, 10.0.13-0ubuntu1~26.10.1
dotnet-sdk-aot-10.0 (Ubuntu package) - addressed in versions 10.0.113-0ubuntu1~24.04.1, 10.0.113-0ubuntu1~26.04.1, 10.0.113-0ubuntu1~26.10.1
dotnet-sdk-10.0 (Ubuntu package) - addressed in versions 10.0.113-0ubuntu1~24.04.1, 10.0.113-0ubuntu1~26.04.1, 10.0.113-0ubuntu1~26.10.1
dotnet-sdk-dbg-10.0 (Ubuntu package) - addressed in versions 10.0.113-0ubuntu1~24.04.1, 10.0.113-0ubuntu1~26.04.1, 10.0.113-0ubuntu1~26.10.1
dotnet10 (Ubuntu package) - addressed in versions 10.0.113-10.0.13-0ubuntu1~24.04.1, 10.0.113-10.0.13-0ubuntu1~26.04.1, 10.0.113-10.0.13-0ubuntu1~26.10.1
aspnetcore-runtime-11.0 (Ubuntu package) - update to 11.0.0~rc2-0ubuntu1~26.10.1
dotnet-host-11.0 (Ubuntu package) - update to 11.0.0~rc2-0ubuntu1~26.10.1
dotnet-hostfxr-11.0 (Ubuntu package) - update to 11.0.0~rc2-0ubuntu1~26.10.1
dotnet-runtime-11.0 (Ubuntu package) - update to 11.0.0~rc2-0ubuntu1~26.10.1
dotnet-sdk-11.0 (Ubuntu package) - update to 11.0.100~rc2-0ubuntu1~26.10.1
dotnet-sdk-aot-11.0 (Ubuntu package) - update to 11.0.100~rc2-0ubuntu1~26.10.1
dotnet-sdk-dbg-11.0 (Ubuntu package) - update to 11.0.100~rc2-0ubuntu1~26.10.1
dotnet11 (Ubuntu package) - update to 11.0.100-11.0.0~rc2-0ubuntu1~26.10.1
dotnet10.0 - addressed in versions 10.0.113-1.fc43, 10.0.113-1.fc44, 10.0.113-1.fc45

External References

Related Security Bulletins