{"id":"CVE-2026-45772","revision":null,"records":[{"revision":"479546b307424f6eb6a355ccc485401f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45772","aliases":[],"title":"Turborepo: Unexpected local code execution during Yarn Berry detection","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.","state":0,"publishedAt":"2026-05-15T15:45:45.252+00:00","modifiedAt":"2026-05-15T17:54:06.401+00:00","affected":[{"ecosystem":"Vendor product","name":"turborepo","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"vercel\",\n                    \"product\": \"turborepo\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.1.0, < 2.9.14\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"codemod","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@turbo\",\n                    \"product\": \"codemod\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.3.4, < 2.9.14\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"workspaces","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@turbo\",\n                    \"product\": \"workspaces\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.3.4, < 2.9.14\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N","score":0,"severity":"NONE"}],"references":["https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45772","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45772","identifiers":["CVE-2026-45772"]},"retained":false,"historicalAffected":[]},{"revision":"7827f268463a4939b95ebff4c3866d6a","observedAt":"2026-10-28T06:13:02.193+00:00","statement":{"source":"euvd","id":"EUVD-2026-30551","aliases":["CVE-2026-45772","GHSA-3qcw-2rhx-2726"],"title":"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 config…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-30551","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 15, 2026, 3:45:45 PM","dateUpdated":"May 15, 2026, 5:54:06 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-30551","identifiers":["EUVD-2026-30551","CVE-2026-45772","GHSA-3qcw-2rhx-2726"]},"retained":false,"historicalAffected":[]},{"revision":"28f1f1d45c2447b49ac064b4f99bb9ff","observedAt":"2026-10-27T13:11:36.603+00:00","statement":{"source":"nvd","id":"CVE-2026-45772","aliases":[],"title":"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 config…","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.","state":0,"publishedAt":"2026-05-15T16:16:14.987+00:00","modifiedAt":"2026-10-26T14:10:00.13+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":0,"severity":"NONE"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45772","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-426"],"productCriteria":["cpe:2.3:a:vercel:turborepo:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-05-15T16:16:14.987","lastModified":"2026-10-26T14:10:00.130"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-45772","identifiers":["CVE-2026-45772"]},"retained":false,"historicalAffected":[]},{"revision":"5e8c6e79dd0f413b9af2c532cddc7edd","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-3qcw-2rhx-2726","aliases":["CVE-2026-45772"],"title":"Turbo: Unexpected local code execution during Yarn Berry detection","description":"### Impact  \n\nTurborepo 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.\n\n### Fix  \n\nTurbo 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`.\n\n### Workarounds  \n\nIf 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.","state":0,"publishedAt":"2026-05-19T19:46:44+00:00","modifiedAt":"2026-09-10T03:51:04.4439861+00:00","affected":[{"ecosystem":"npm","name":"turbo","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.1.0"},{"kind":"fixed","version":"2.9.14"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@turbo/codemod","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.3.4"},{"kind":"fixed","version":"2.9.14"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@turbo/workspaces","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.3.4"},{"kind":"fixed","version":"2.9.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/vercel/turborepo/security/advisories/GHSA-3qcw-2rhx-2726","https://nvd.nist.gov/vuln/detail/CVE-2026-45772","https://github.com/vercel/turborepo"],"sourceUrl":"https://github.com/advisories/GHSA-3qcw-2rhx-2726","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3qcw-2rhx-2726","identifiers":["GHSA-3qcw-2rhx-2726","CVE-2026-45772"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-28T09:35:16.3984034+00:00","complete":true,"records":1760,"lastAttemptAt":"2026-10-28T09:35:16.3984034+00:00","lastSuccessAt":"2026-10-28T09:35:16.5390082+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:35:16.5390093+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d2186f400c54d65f61687f78bb1a00d184d2e215877d0194d7ed70caee809a44-341c9c066fb1f02844701ecd80668d9f8785ee859a9610fea1cb64d90b310b31","complete":true,"records":415618,"lastAttemptAt":"2026-10-28T09:33:30.5343769+00:00","lastSuccessAt":"2026-10-28T09:33:30.506878+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:33:30.5343769+00:00","snapshotPublishedAt":"2026-10-28T09:30:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-de165d53fac940aaad346865c6e98fb1","complete":false,"records":13160,"lastAttemptAt":"2026-10-28T09:47:16.9908553+00:00","lastSuccessAt":"2026-10-28T09:47:16.987+00:00","error":"30 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-10-28T09:47:16.987+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":8470,"expectedIdentifiers":13514,"failedIdentifiers":30},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-28T09:35:16.3984034+00:00","complete":true,"records":1093,"lastAttemptAt":"2026-10-28T09:35:16.3984034+00:00","lastSuccessAt":"2026-10-28T09:35:16.5401217+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:35:16.5401222+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8d16a738328646698f9217d8ea11893c","complete":true,"records":13449,"lastAttemptAt":"2026-10-28T09:35:17.0530276+00:00","lastSuccessAt":"2026-10-27T22:48:29.491+00:00","error":null,"lastVerifiedAt":"2026-10-27T22:48:29.491+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13514,"expectedIdentifiers":13514,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-f7cb12508d9e6a348c8a60f772ed85529cc80cd2ff853da1099b57754b20e943","complete":true,"records":9790,"lastAttemptAt":"2026-10-28T09:35:16.3488229+00:00","lastSuccessAt":"2026-10-27T21:49:03.9756799+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:35:16.3488229+00:00","snapshotPublishedAt":"2026-10-27T21:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-72e5e79de0026dd0562d40734074a2236a06886643d67182b8381eaee757dbf7","complete":true,"records":1966,"lastAttemptAt":"2026-10-28T09:33:30.5803847+00:00","lastSuccessAt":"2026-10-27T21:46:38.0277323+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:33:30.5803847+00:00","snapshotPublishedAt":"2026-10-27T21:18:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3a5b306d60fc44677a03a8afc99d87e6c5402770ef68d560f94a8c3ad3802b75","complete":true,"records":3001,"lastAttemptAt":"2026-10-28T09:35:16.3626904+00:00","lastSuccessAt":"2026-10-27T16:45:49.0050993+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:35:16.3626904+00:00","snapshotPublishedAt":"2026-10-27T16:33:43+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2ba4ef78ff3a54a3ff2eeaf8e09b7b84901727f582723b80c5b0279e777b2781","complete":true,"records":230857,"lastAttemptAt":"2026-10-28T09:35:16.2102779+00:00","lastSuccessAt":"2026-10-28T09:35:14.9469514+00:00","error":null,"lastVerifiedAt":"2026-10-28T09:35:16.2102779+00:00","snapshotPublishedAt":"2026-10-28T09:33:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}