CVE-2026-46508: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in vercel turborepo
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.
AI Analysis
Technical Summary
The Turborepo LSP VS Code extension versions before 2.9.14000 use string-based shell command execution for daemon commands and task runs, interpolating workspace-controlled values such as workspace settings or task names directly into shell commands. This improper neutralization of special elements (CWE-77) enables a malicious workspace to craft values that, when interpreted by the shell, execute arbitrary commands with the local VS Code process privileges. The vulnerability is addressed by updating the extension to version 2.9.14000.
Potential Impact
Successful exploitation allows arbitrary command execution on the user's machine with the privileges of the VS Code process, potentially leading to unauthorized actions or compromise of the local environment. The vulnerability requires user interaction (UI:A) and local access (AV:L) but does not require privileges or authentication. The impact is rated high with a CVSS 4.0 score of 8.4.
Mitigation Recommendations
Upgrade the Turborepo LSP VS Code extension to version 2.9.14000 or later, where this command injection vulnerability is fixed. No other mitigation or temporary workaround is indicated. Users should avoid opening untrusted workspaces until patched.
CVE-2026-46508: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in vercel turborepo
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.
CVSS v4.0
Score 8.4high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Turborepo LSP VS Code extension versions before 2.9.14000 use string-based shell command execution for daemon commands and task runs, interpolating workspace-controlled values such as workspace settings or task names directly into shell commands. This improper neutralization of special elements (CWE-77) enables a malicious workspace to craft values that, when interpreted by the shell, execute arbitrary commands with the local VS Code process privileges. The vulnerability is addressed by updating the extension to version 2.9.14000.
Potential Impact
Successful exploitation allows arbitrary command execution on the user's machine with the privileges of the VS Code process, potentially leading to unauthorized actions or compromise of the local environment. The vulnerability requires user interaction (UI:A) and local access (AV:L) but does not require privileges or authentication. The impact is rated high with a CVSS 4.0 score of 8.4.
Mitigation Recommendations
Upgrade the Turborepo LSP VS Code extension to version 2.9.14000 or later, where this command injection vulnerability is fixed. No other mitigation or temporary workaround is indicated. Users should avoid opening untrusted workspaces until patched.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-14T19:12:32.754Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a074490ec166c07b066092b
Added to database: 05/15/2026, 16:06:40 UTC
Last enriched: 05/15/2026, 16:21:35 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 101
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.