CVE-2026-45772
CRITICALTurborepo: Unexpected local code execution during Yarn Berry detection
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726
Scores
CVSS v3
9.8
EPSS
0.0010
EPSS Percentile
26.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-426
Status
published
Products (7)
@turbo/codemod
>= 2.3.4, < 2.9.14
@turbo/workspaces
>= 2.3.4, < 2.9.14
npm/turbo
1.1.0 - 2.9.14npm
turbo/codemod
2.3.4 - 2.9.14npm
turbo/workspaces
2.3.4 - 2.9.14npm
vercel/turborepo
1.1.0 - 2.9.14
vercel/turborepo
>= 1.1.0, < 2.9.14
Published
May 15, 2026
Tracked Since
May 15, 2026