CVE-2026-45772
Turbo: Unexpected local code execution during Yarn Berry detection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (low).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | langfuse-2, langfuse-3, langfuse-fips-2 and 1 more | 2.95.12-r24 and 2 more |
| minimos | trigger-dev | 4.5.11-r1 |
| npm::GitHub Security Advisory npm | @turbo/codemod, @turbo/workspaces, turbo | 2.9.14 |
| wolfi | langfuse-3 | 3.175.0-r0 |
Show all 9 entries from 4 sources
| Source | Package | Fixed in |
|---|---|---|
| chainguard | langfuse-2 | 2.95.12-r24 |
| chainguard | langfuse-3 | 3.175.0-r0 |
| chainguard | langfuse-fips-2 | 2.95.12-r26 |
| chainguard | langfuse-fips-3 | 3.175.0-r0 |
| minimos | trigger-dev | 4.5.11-r1 |
| npm::GitHub Security Advisory npm | @turbo/codemod | 2.9.14 |
| npm::GitHub Security Advisory npm | @turbo/workspaces | 2.9.14 |
| npm::GitHub Security Advisory npm | turbo | 2.9.14 |
| wolfi | langfuse-3 | 3.175.0-r0 |