Turborepo: Unexpected local code execution during Yarn Berry detection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-426.
Summary
Turborepo is a high-performance build system for JavaScript and TypeScript codebases. From 1.1.0 to before 2.9.14, Turborepo can be vulnerable to arbitrary code execution when run in untrusted repositories that contain malicious Yarn configuration. In affected versions, package manager detection executed yarn --version from the project directory, which could cause Yarn to load and execute a project-controlled yarnPath from .yarnrc.yml. An attacker who controls repository contents could cause code execution when a user or CI system runs affected turbo, @turbo/codemod, or @turbo/workspace conversion commands. This vulnerability is fixed in 2.9.14.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vercel | turborepo | 1.1.0 to before 2.9.14 | 2.9.14 | Patch available | CNA |
| @turbo | codemod | 2.3.4 to before 2.9.14 | 2.9.14 | Patch available | CNA |
| @turbo | workspaces | 2.3.4 to before 2.9.14 | 2.9.14 | Patch available | CNA |
| — | turbo (npm) | 1.1.0 to before 2.9.14 | 2.9.14 | Patch available | GHSA-3qcw-2rhx-2726 |
| — | @turbo/codemod (npm) | 2.3.4 to before 2.9.14 | 2.9.14 | Patch available | GHSA-3qcw-2rhx-2726 |
| — | @turbo/workspaces (npm) | 2.3.4 to before 2.9.14 | 2.9.14 | Patch available | GHSA-3qcw-2rhx-2726 |
- turborepo Vendorvercel Affected 1.1.0 to before 2.9.14 Fixed in 2.9.14 Patch available CNA
- codemod Vendor@turbo Affected 2.3.4 to before 2.9.14 Fixed in 2.9.14 Patch available CNA
- workspaces Vendor@turbo Affected 2.3.4 to before 2.9.14 Fixed in 2.9.14 Patch available CNA
- turbo (npm) Vendor— Affected 1.1.0 to before 2.9.14 Fixed in 2.9.14 Patch available GHSA-3qcw-2rhx-2726
- @turbo/codemod (npm) Vendor— Affected 2.3.4 to before 2.9.14 Fixed in 2.9.14 Patch available GHSA-3qcw-2rhx-2726
- @turbo/workspaces (npm) Vendor— Affected 2.3.4 to before 2.9.14 Fixed in 2.9.14 Patch available GHSA-3qcw-2rhx-2726
Remediation
- Fix · CNA turborepo (vercel) Fixed in 2.9.14
- Fix · CNA codemod (@turbo) Fixed in 2.9.14
- Fix · CNA workspaces (@turbo) Fixed in 2.9.14
- Fix · GHSA-3qcw-2rhx-2726 turbo (npm) Fixed in 2.9.14 Advisory →
- Fix · GHSA-3qcw-2rhx-2726 @turbo/codemod (npm) Fixed in 2.9.14 Advisory →
- Fix · GHSA-3qcw-2rhx-2726 @turbo/workspaces (npm) Fixed in 2.9.14 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45772
- 2026-10-03 Alias added: GHSA-3qcw-2rhx-2726
- 2026-10-21 EPSS moved to the 50th–90th percentile
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More vercel Turborepo vulnerabilities
- TI-2026-33510 Turborepo: Login callback CSRF/session fixation CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-45772 · CVE Program
- CVE-2026-45772 · NVD
- FIRST EPSS
- GHSA-3qcw-2rhx-2726 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences