CVE-2026-46508 Turborepo: VSCode Extension command injection
A malicious workspace can execute arbitrary shell commands via the Turborepo VSCode extension, compromising the local developer environment.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-46508?
CVE-2026-46508 is a high-severity command injection vulnerability in vercel turborepo, published on 15 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Turborepo is a high-performance build system for JavaScript and TypeScript codebases. Prior to 2.9.14000, the Turborepo LSP VS Code extension could execute shell commands derived from workspace-controlled values. The extension used string-based command execution for Turborepo daemon commands and task runs. A malicious workspace could provide crafted values through workspace settings or task names in the repository's source code that were interpolated into shell commands. When the extension activated or when a user ran a task through the extension, those values could be interpreted by the user's shell, allowing arbitrary command execution with the privileges of the local VS Code process. This vulnerability is fixed in 2.9.14000.
Weakness: CWE-77
Which versions are affected by CVE-2026-46508?
It affects 1 product.
Products include Vercel Turborepo Language Server Protocol.
How do I fix CVE-2026-46508?
No fix has been published for CVE-2026-46508 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-46508 being exploited?
There is no known exploitation of CVE-2026-46508 in the wild and no public exploit code.