CVE-2025-68120: Unexpected untrusted code execution in github.com/golang/vscode-go

Published Dec 29, 2025
·
Updated

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

Affected Software

3 affected componentsFixes available
github.com/golang/vscode-go
go/github.com/golang/vscode-go<0.52.1
0.52.1
go Go Visual Studio Code<0.52.1

Event History

Dec 29, 2025
CVE Published
via MITRE·11:46 PM
Data Sourced
via MITRE·11:46 PM
DescriptionWeakness
Dec 30, 2025
Data Sourced
via NVD·12:15 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·12:32 AM
Data Sourced
via GitHub·12:32 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68120?

CVE-2025-68120 is classified as a high severity vulnerability due to the risk of untrusted code execution.

2

How do I fix CVE-2025-68120?

To address CVE-2025-68120, ensure that the Visual Studio Code Go extension is disabled in Restricted Mode.

3

What software is affected by CVE-2025-68120?

CVE-2025-68120 affects the Visual Studio Code Go extension, particularly versions associated with the GitHub repository github.com/golang/vscode-go.

4

What does CVE-2025-68120 mean for users of the Go extension?

CVE-2025-68120 indicates that users of the Go extension should be cautious about executing code, as the extension can introduce security risks.

5

Is there a workaround for CVE-2025-68120?

The primary workaround for CVE-2025-68120 is to operate Visual Studio Code in Restricted Mode, which prevents the extension from running untrusted code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203