llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · turbo

GHSA-3QCW-2RHX-2726

Turbo: Unexpected local code execution during Yarn Berry detection

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -5 d de la divulgación
Exposición184 dDesde la divulgación, 19 may 2026, 2:46 p. m.
Detección181 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2.9.14
Monitoreo
Detectada
14 may 26
19 may 26
10 sept 26
17 nov 26
20 nov 26
14 may 26
1 jul 26
17 ago 26
3 oct 26
20 nov 26
FechaFaseEventoDetalle
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
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
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.

Versiones

Rangos afectados

Afectada Corregida Última
turbo≥ 1.1.0 < 2.9.14
@turbo/codemod · @turbo/workspaces≥ 2.3.4 < 2.9.14
1.1.0
2.3.4
2.9.14
2.11.11
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde 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
Versiones corregidas2.9.14
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-45772
Otrahttps://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726
Otrahttps://github.com/vercel/turborepo

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.