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

- Severity: None 0.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-05-15T15:45:45.252Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-3qcw-2rhx-2726
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- vercel turborepo: >= 1.1.0, < 2.9.14; from 1.1.0 before 2.9.14
- @turbo codemod: >= 2.3.4, < 2.9.14
- @turbo workspaces: >= 2.3.4, < 2.9.14
- turbo (npm): from 1.1.0 before 2.9.14
- @turbo/codemod (npm): from 2.3.4 before 2.9.14
- @turbo/workspaces (npm): from 2.3.4 before 2.9.14

## Every score

- GitHub_M: CVSS:4.0 0.0 None `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`
- GitHub: CVSS:3.1 9.8 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45772> (advisory)
- <https://github.com/vercel/turborepo> (package)

## Sources

- CVE List: [CVE-2026-45772](https://www.cve.org/CVERecord?id=CVE-2026-45772), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-3qcw-2rhx-2726](https://github.com/advisories/GHSA-3qcw-2rhx-2726), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45772](https://nvd.nist.gov/vuln/detail/CVE-2026-45772), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-45772 · Whole record: https://cve.day/CVE-2026-45772.json · Rebuilt by cve.day 2026-11-25T22:59:21.816Z
