Vulnerabilities / CVE-2026-45772

critical

CVE-2026-45772

Turbo: Unexpected local code execution during Yarn Berry detection

Published Modified CWE 426
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

SourcePackageFixed in
chainguardlangfuse-2, langfuse-3, langfuse-fips-2 and 1 more2.95.12-r24 and 2 more
minimostrigger-dev4.5.11-r1
npm::GitHub Security Advisory npm@turbo/codemod, @turbo/workspaces, turbo2.9.14
wolfilangfuse-33.175.0-r0
Show all 9 entries from 4 sources
SourcePackageFixed in
chainguardlangfuse-22.95.12-r24
chainguardlangfuse-33.175.0-r0
chainguardlangfuse-fips-22.95.12-r26
chainguardlangfuse-fips-33.175.0-r0
minimostrigger-dev4.5.11-r1
npm::GitHub Security Advisory npm@turbo/codemod2.9.14
npm::GitHub Security Advisory npm@turbo/workspaces2.9.14
npm::GitHub Security Advisory npmturbo2.9.14
wolfilangfuse-33.175.0-r0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.