CVE-2025-68120

MEDIUM

Visual Studio Code Go Extension <=0.52.1 - Untrusted Code Execution

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-68120. PoCs published by choewonwoo1817.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2025-68120, a command injection vulnerability in the VS Code Go extension. It explains the root cause (incomplete blacklist in `package.json`), vulnerable code paths, and attack scenarios involving malicious `.vscode/settings.json` files.

Description

To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.

Exploits (1)

nomisec WRITEUP 1 stars
by choewonwoo1817 · poc
https://github.com/choewonwoo1817/CVE-2025-68120

This repository provides a detailed technical analysis of CVE-2025-68120, a command injection vulnerability in the VS Code Go extension. It explains the root cause (incomplete blacklist in `package.json`), vulnerable code paths, and attack scenarios involving malicious `.vscode/settings.json` files.

Classification
Writeup 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: VS Code Go Extension (versions before v0.52.1)
No auth needed
Prerequisites: Victim opens a malicious project in VS Code · Victim opens a `.go` file in Restricted Mode
devstral-2 · analyzed Feb 19, 2026 Full analysis →

Scores

CVSS v3 5.4
EPSS 0.0002
EPSS Percentile 7.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (2)
go/go < 0.52.1
golang/vscode-go 0 - 0.52.1Go
Published Dec 30, 2025
Tracked Since Feb 18, 2026