Description
Improper control of generation of code ('code injection') in Visual Studio Tools for Applications and SQL Server Management Studio allows an unauthorized attacker to execute code over a network.
Published: 2026-10-13
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises from improper control of code generation (code injection) in Visual Studio Tools for Applications and SQL Server Management Studio. An attacker with network access can trigger the execution of arbitrary code within the context of the Visual Studio installation. This flaw permits a remote attacker to compromise the confidentiality, integrity, and availability of the affected system, effectively achieving remote code execution.

Affected Systems

Microsoft Visual Studio 2022 version 17.14 and Microsoft Visual Studio 2026 version 18.10 are affected. The vulnerability also applies to components of SQL Server Management Studio that rely on the Visual Studio Tools for Applications framework. Systems running these specific product releases without the latest security updates are at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. EPSS is not available, so the likelihood of exploitation cannot be quantified at present; however, the flaw is network‑based and does not require local privileges, making it attractive for attackers. The vulnerability is not listed in CISA’s KEV catalog, but the remote code execution capability and high score suggest it should be addressed promptly. To exploit the flaw, the attacker must craft a trigger that causes Visual Studio or SQL Server Management Studio to generate and execute malicious code, typically through a network‑accessible service or authenticated session.

Generated by OpenCVE AI on October 17, 2026 at 05:49 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest security update for Visual Studio 2022 (v17.14) and Visual Studio 2026 (v18.10) that remedies the code injection flaw.
  • Restrict network access to instances of Visual Studio and SQL Server Management Studio by limiting inbound connections to trusted networks or applying firewall rules that block unsolicited traffic to the affected services.
  • Enforce strict code‑signing and validation policies for any custom extensions or scripts that run within Visual Studio Tools for Applications, ensuring only trusted code can be executed.
  • Monitor audit logs for anomalous code execution events and apply intrusion detection systems that flag unexpected script execution.

Generated by OpenCVE AI on October 17, 2026 at 05:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description Improper control of generation of code ('code injection') in Visual Studio Tools for Applications and SQL Server Management Studio allows an unauthorized attacker to execute code over a network.
Title Visual Studio Tools for Applications and SQL Server Management Studio Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft microsoft Visual Studio 2026 Version 18.10
Microsoft visual Studio 2022
Weaknesses CWE-94
CPEs cpe:2.3:a:microsoft:microsoft_visual_studio_2026_version_18.10:*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft microsoft Visual Studio 2026 Version 18.10
Microsoft visual Studio 2022
References
Metrics cvssV3_1

{'score': 8.8, 'vector': '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'}


Subscriptions

Microsoft Microsoft Visual Studio 2026 Version 18.10 Visual Studio 2022
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-10-31T18:00:11.253Z

Reserved: 2026-09-30T20:48:29.840Z

Link: CVE-2026-103572

cve-icon Vulnrichment

Updated: 2026-10-13T21:13:17.295Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T19:17:53.293

Modified: 2026-10-13T22:17:25.633

Link: CVE-2026-103572

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T15:30:14Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')