CVE-2026-45772 json
Turborepo: Unexpected local code execution during Yarn Berry detection
published 2026-05-15 5 mo ago modified 2026-10-26 13 d ago also GHSA-3qcw-2rhx-2726 , EUVD-2026-30551
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
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.
Patch / fix
- npm turbo 2.9.14
- npm @turbo/codemod 2.9.14
- npm @turbo/workspaces 2.9.14
- vercel turborepo 2.9.14
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | turbo | >=1.1.0, <2.9.14 |
2.9.14 |
| npm | @turbo/codemod | >=2.3.4, <2.9.14 |
2.9.14 |
| npm | @turbo/workspaces | >=2.3.4, <2.9.14 |
2.9.14 |
Affected products
- vercel turborepo
- @turbo codemod
- @turbo workspaces
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
github.com
/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-45772
advisory
-
github.com
/vercel/turborepo
package
Sources
- CVE List CVE-2026-45772
- GitHub Advisory GHSA-3qcw-2rhx-2726
- NVD CVE-2026-45772
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.