Turborepo
Turborepo: Unexpected local code execution during Yarn Berry detection
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.1.0, < 2.9.14
Fixed in 2.9.14
- >= 2.3.4, < 2.9.14
Fixed in 2.9.14
- >= 2.3.4, < 2.9.14
Fixed in 2.9.14
Mitigation
Upgrade turborepo to 2.9.14 or later.
Upgrade codemod to 2.9.14 or later.
Upgrade workspaces to 2.9.14 or later.
References
- Vendor advisory github.com/vercel/turborepo/security/advisorie…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AhmedMahsen/turbo-gen-poc-ci | 24 Sep 2026 +132 d | 1 | Pending · listed by PoC Index; via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.