CVE-2026-45772
NONE 0.0CVSS 4.0Turbo: 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.
- Published
- 15 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-426
- Also known as
- GHSA-3qcw-2rhx-2726
- Sources
- NVDJSONOSV GHSA-3qcw-2rhx-2726JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | NONE 0.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vercel | turborepocpe:2.3:a:vercel:turborepo:*:*:*:*:*:node.js:*:* |
>= 1.1.0, < 2.9.14 | 2.9.14 |
| OSV | npm | turbo | >= 1.1.0, < 2.9.14 | 2.9.14 |
| OSV | npm | @turbo/codemod | >= 2.3.4, < 2.9.14 | 2.9.14 |
| OSV | npm | @turbo/workspaces | >= 2.3.4, < 2.9.14 | 2.9.14 |
References
- https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45772 · ADVISORY
- https://github.com/vercel/turborepo · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 May 2026)