GHSA-3QCW-2RHX-2726
Turbo: Unexpected local code execution during Yarn Berry detection
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.9.14 | turbo · -5 d desde divulgación | |
| Divulgación | Publicada | GHSA-3QCW-2RHX-2726 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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 a user or CI system runs affected `turbo`, `@turbo/codemod`, or `@turbo/workspace` conversion commands.
Fix
Turbo now avoids executing project-local Yarn during package manager detection. Yarn versions and paths are inferred from metadata such as `package.json`, parsing the value of `yarnPath` in `.yarnrc.yml` rather than executing it, and `yarn.lock`, and unrecognized Yarn lockfile formats are rejected instead of falling back to executing `yarn`.
Workarounds
If you cannot upgrade immediately, do not run Turborepo commands in untrusted repositories. Review or remove `.yarnrc.yml` files that define `yarnPath` before running Turborepo, especially in CI or automated tooling that processes external projects.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmturbo |
Corregida | 2.9.14 | -5 d | 2.11.11 no afectada |
npm@turbo/codemod |
Corregida | 2.9.14 | -5 d | 2.11.11 no afectada |
npm@turbo/workspaces |
Corregida | 2.9.14 | -5 d | 2.11.11 no afectada |
2.9.14Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2026-45772https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726https://github.com/vercel/turborepoLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
