Turbo: Unexpected local code execution during Yarn Berry detection — CVE-2026-45772
GitHub · GitHub · CVE-2026-45772
ID
CVE-2026-45772
CVE-2026-45772
Date
Activity
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
low
low
CVSS
9.8
9.8
EPSS
0.0007
0.0007
Summary
### Impact 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…
Product
npm: turbo | npm: @turbo/codemod | npm: @turbo/workspaces
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.