What’s Vulnerable › Vulnerabilities
CVE-2025-68120: Unexpected untrusted code execution in github.com/golang/vscode-go
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-30 · updated 2026-10-13
Description
To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.
Affected products
- github.com/golang/vscode-go: before 0.52.1 — fixed in 0.52.1
How to fix
Upgrade to a fixed version: github.com/golang/vscode-go 0.52.1. Check the vendor advisory for mitigations.
References
- https://groups.google.com/g/golang-dev/c/CHG4qfcicBU/m/4tanFUymDQAJ
- https://nvd.nist.gov/vuln/detail/CVE-2025-68120
- https://pkg.go.dev/vuln/GO-2025-4249
Get alerted when CVE-2025-68120 or the next vulnerability affects your stack