CVE-2026-45772
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
turbonpm | >= 1.1.0, < 2.9.14 | 2.9.14 |
@turbo/codemodnpm | >= 2.3.4, < 2.9.14 | 2.9.14 |
@turbo/workspacesnpm | >= 2.3.4, < 2.9.14 | 2.9.14 |
Affected products
8- Range: >=1.1.0 <2.9.14
- Range: >=1.1.0 <2.9.14
- osv-coords5 versionspkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-2-workerpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/wolfi/langfuse-3-worker
< 2.95.12-r24+ 4 more
- (no CPE)range: < 2.95.12-r24
- (no CPE)range: < 3.175.0-r0
- (no CPE)range: < 2.95.12-r26
- (no CPE)range: < 3.175.0-r0
- (no CPE)range: < 3.175.0-r0
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-3qcw-2rhx-2726ghsaADVISORY
- github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-45772ghsaADVISORY
News mentions
0No linked articles in our index yet.