VS Code Workspace Trust bypass via remote workspace file (CVE-2026-119985)
Incident date
DisclosedNov 10, 2026 (GitHub advisory)
Added hereNov 15, 4:23 PM ET
Last verifiedNov 15, 2026
Summary
Per the vendor advisory, VS Code 1.145.2 and earlier could treat a workspace opened from an HTTP(S) Workspace Configuration File as trusted before the user made a trust decision. Workspace settings such as MCP server definitions could then start an attacker-controlled process. The advisory lists VS Code 1.145.3 as the patched version and gives a CVSS score of 7.2.
Severity
HIGH CVSS score 7.2 rates High, matching the GitHub advisory.
Timeline
GitHub advisory GHSA-g3fj-wc2g-v3j5 for CVE-2026-119985 was published, listing 1.145.3 as the patched version. (per the vendor advisory)
How it happened
Per the vendor advisory, an attacker would need to convince the user to open a crafted link to a remote Workspace Configuration File. VS Code could classify the resulting network-backed workspace as trusted and apply process-starting workspace settings before the user made a trust decision. Settings such as MCP server definitions could then start an attacker-controlled process.
How to check your app
- VS Code 1.145.2 and earlier (all versions below 1.145.3): Check the installed VS Code version and compare it with the patched version 1.145.3.
- VS Code 1.145.2 and earlier: Check whether remote .code-workspace links from untrusted sources were opened.
Sources
Corrections and updates
Cite this entry
- Title
- VS Code Workspace Trust bypass via remote workspace file (CVE-2026-119985)
- Added
- Nov 15, 2026
- URL
- https://vibeincidents.com/incidents/vs-code-cve-2026-119985/
- Suggested citation
VibeIncidents. "VS Code Workspace Trust bypass via remote workspace file (CVE-2026-119985)." Nov 15, 2026. https://vibeincidents.com/incidents/vs-code-cve-2026-119985/