CVE-2026-45772
CVE-2026-45772 · Turborepo: Unexpected local code execution during Yarn Berry detection
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 0.0 · Low · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
turborepo
- Versions
- >= 1.1.0, < 2.9.14: Affected
No fix published
codemod
- Versions
- >= 2.3.4, < 2.9.14: Affected
No fix published
workspaces
- Versions
- >= 2.3.4, < 2.9.14: Affected
No fix published
turbo npm
- Affected ranges
- SEMVER: ≥ 1.1.0, < 2.9.14
Update to 2.9.14
@turbo/codemod npm
- Affected ranges
- SEMVER: ≥ 2.3.4, < 2.9.14
Update to 2.9.14
@turbo/workspaces npm
- Affected ranges
- SEMVER: ≥ 2.3.4, < 2.9.14
Update to 2.9.14