Vulnerability · Published May 15, 2026 · Assigned by GitHub_M

CVE-2026-45772Turborepo: Unexpected local code execution during Yarn Berry detection

None 0.0

In plain English

A security flaw in codemod from @turbo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)0.0None
Exploit odds (30 days)0.4%top 67.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@turbo/codemod2.9.14GHSA-3qcw-2rhx-2726
npm@turbo/workspaces2.9.14GHSA-3qcw-2rhx-2726
npmturbo2.9.14GHSA-3qcw-2rhx-2726

Affected products (as reported)

VendorProductVersions
vercel turborepo >= 1.1.0, < 2.9.14
@turbo codemod >= 2.3.4, < 2.9.14
@turbo workspaces >= 2.3.4, < 2.9.14

Weakness: CWE-426 · Vector: 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

References