Visual Studio Code Go Extension Restricted Mode Code Execution Vulnerability

Vulnerability

A vulnerability in the Visual Studio Code Go extension, specifically in versions prior to 0.52.1, has been identified. When the extension is used in Restricted Mode, it could lead to unintended execution of untrusted code. To address this issue, the extension has been disabled in Restricted Mode.

Impact

Enabling the extension in Restricted Mode could result in the execution of untrusted code, potentially leading to security risks.

Remediation

Users can update to version 0.52.1 or later of the Visual Studio Code Go extension. The update should be automatic, but it can also be done manually through the Visual Studio Code extension marketplace.

Added: Dec 30, 2025, 12:24 AM
Updated: Dec 30, 2025, 12:24 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.4
remediation
7.7
relevance
1.8
threat
0.0
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.