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

> CVE-2026-45772: Turborepo: Unexpected local code execution during Yarn Berry detection. CVSS 9.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-45772
Last updated: 2026-06-17T10:52:32Z

- Published: 2026-05-15 15:45 UTC · Updated: 2026-06-17 10:52 UTC · Assigner: GitHub\_M
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.39%, 32th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-426

## 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 vendors and products

- @turbo: codemod
- @turbo: workspaces
- vercel: turborepo

## Tracked companies

- [Vercel](https://rewindex.com/company/vercel.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-45772)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-45772)
- [https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726](https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-45772 · Markdown: https://rewindex.com/cve/CVE-2026-45772.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-45772 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:24.869Z
