CVE-2026-45772

Turborepo: Unexpected local code execution during Yarn Berry detection

State
Published
Severity
0.0 None
Published
May 15, 2026
Updated
May 15, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.00.0 NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

Affected Products

ProductVersions
turborepovercel
  • >= 1.1.0, < 2.9.14Affected
codemod@turbo
  • >= 2.3.4, < 2.9.14Affected
workspaces@turbo
  • >= 2.3.4, < 2.9.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.