CVE-2026-47292

Visual Studio Code MSSQL Extension Remote Code Execution Vulnerability

Published Jun 9, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to elevate privileges locally.

Analysis

AI-generated

Technical impact

The vulnerability arises from the MSSQL Extension for Visual Studio Code including functionality that originates from an untrusted control sphere, allowing an unauthorized attacker to elevate their privileges locally. This elevation can enable the attacker to execute arbitrary code or make unauthorized modifications within the user’s environment, representing a significant compromise of system integrity. The weakness aligns with CWE-829 and CWE-94, indicating improper control usage and potential code injection mechanisms.

Affected Systems

Microsoft Visual Studio Code MSSQL Extension is affected. No specific version range is provided, so all installations using this extension are potentially vulnerable until a fix is applied.

Risk and Exploitability

The CVSS score of 7.8 classifies the issue as high severity, and although the EPSS score is not available, the lack of listing in the CISA KEV catalog means no publicly disclosed active exploitation has been reported. The likely attack vector is provided by the extension’s ability to execute code, inferred to require the extension to be installed and run within the Visual Studio Code environment. In the absence of exploitation data, the risk remains high, especially for systems that rely on the MSSQL Extension without additional access controls.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest update for Visual Studio Code that addresses the MSSQL Extension fix, as released by Microsoft.
  • Verify that the update includes the privilege escalation protection by reviewing the Microsoft Security Advisory linked in the reference above.
  • If the extension is not essential, consider disabling or uninstalling it until the update is applied to eliminate the attack surface.

Generated by OpenCVE AI on June 9, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Microsoft visual Studio Code
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft visual Studio Code
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
Title Visual Studio Code MSSQL Extension Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code Mssql Extension
Weaknesses CWE-829
CWE-94
CPEs cpe:2.3:a:microsoft:visual_studio_code_mssql_extension:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code Mssql Extension
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 19, 2026, 10:14 PM
Reserved
May 18, 2026, 11:53 PM
Status
Analyzed
Published
Jun 9, 2026, 5:17 PM
Modified
Aug 24, 2026, 4:17 PM