Skip to main content

CVE-2026-102870: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft Microsoft Visual Studio 2022 version 17.14

0
High
Published: 10/13/2026 (10/13/2026, 19:01:30 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Microsoft Visual Studio 2022 version 17.14

Description

Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Affected software

Microsoft

Microsoft Visual Studio 2022 version 17.14

Affected versions
>=17.14.0 <17.14.42

Microsoft

Microsoft Visual Studio 2026 version 18.10

Affected versions
>=18.10.0 <18.10.4

Microsoft

Microsoft.AspNetCore.Components.WebAssembly.Server

Affected versions
>=10.0.0 <10.0.13

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/13/2026, 21:58:50 UTC

Technical Analysis

The vulnerability exists in the Blazor WebAssembly debug proxy, which evaluates debugger expressions by generating and compiling C# source code. Certain application-originated values such as ToString() results, descriptions, and class names are embedded in this generated source without consistent escaping. This improper control of code generation (CWE-94) allows an attacker to inject code that executes on the developer's machine during debugging when an expression involving attacker-controlled data is evaluated. The issue affects Microsoft.AspNetCore.Components.WebAssembly.Server package versions >=10.0.0 and <=10.0.12, as well as preview versions >=11.0.0-preview.1 and <=11.0.0-rc.1. Patched versions 10.0.13 and 11.0.0-rc.2.26478.115 have been released. The vulnerability has a CVSS 3.1 score of 8.8, indicating high severity.

Potential Impact

Successful exploitation can lead to remote code execution on the developer's machine during debugging sessions involving attacker-controlled application data. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability affects all platforms (Windows, Linux, macOS) and architectures where the vulnerable package is used.

Mitigation Recommendations

An official fix is available. Users should update Microsoft.AspNetCore.Components.WebAssembly.Server to version 10.0.13 or later (for the 10.x release) or 11.0.0-rc.2.26478.115 or later (for the 11.x preview release). After updating, restart the debugger and development environment. Installing the latest supported .NET version is also recommended. No additional mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
microsoft
Date Reserved
2026-09-29T17:27:07.500Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102870","vendor":"Microsoft"}]

Threat ID: 6ace84962cdf04f6569f0262

Added to database: 10/13/2026, 19:20:54 UTC

Last enriched: 10/13/2026, 21:58:50 UTC

Last updated: 10/13/2026, 22:50:42 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses