Skip to content
OpenAdvisories
None · 0.0 CVE-2026-45772 EUVD-2026-30551GHSA-3qcw-2rhx-2726

Turborepo: Unexpected local code execution during Yarn Berry detection

Published May 15, 2026 · Updated May 15, 2026 · Assigned by GitHub_M

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 products

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-worker 3.175.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @turbo/codemod >= 2.3.4, < 2.9.14 2.9.14 GHSA-3qcw-2rhx-2726
npm @turbo/workspaces >= 2.3.4, < 2.9.14 2.9.14 GHSA-3qcw-2rhx-2726
npm turbo >= 1.1.0, < 2.9.14 2.9.14 GHSA-3qcw-2rhx-2726

References