CVE-2026-45772

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductVercel Turborepo
PublishedMay 15, 2026
First seenMay 15, 2026
Weakness typeCWE-426CWE-426

How to fix

Update
  • vercel turborepo2.9.14 or later
  • turbo2.9.14 or later
  • @turbo/codemod2.9.14 or later
  • @turbo/workspaces2.9.14 or later

Affected products

ProductAffected versionsFixed in
vercel turborepo1.1.0 ≤ v < 2.9.142.9.14
turbonpm1.1.0 ≤ v < 2.9.142.9.14
@turbo/codemodnpm2.3.4 ≤ v < 2.9.142.9.14
@turbo/workspacesnpm2.3.4 ≤ v < 2.9.142.9.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-45772 · Vercel Turborepo · Dark Radar