{"answers":{"affected":"6 open source packages ship an affected version, including @turbo/codemod, @turbo/workspaces and turbo. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-45772 in the wild and no public exploit code.","fix":"Upgrade @turbo/codemod to 2.9.14 or later.","what":"CVE-2026-45772 is a code injection vulnerability in @turbo codemod, published on 15 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45772 and fix it if it is affected.\n\nWhat it is: CVE-2026-45772 is a code injection vulnerability in @turbo codemod, published on 15 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45772 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @turbo/codemod (npm): affected from 2.3.4; fixed in 2.9.14\n- @turbo/codemod (npm): affected from 2.3.4; fixed in 2.9.14\n- @turbo/workspaces (npm): affected from 2.3.4; fixed in 2.9.14\n- @turbo/workspaces (npm): affected from 2.3.4; fixed in 2.9.14\n- turbo (npm): affected from 1.1.0; fixed in 2.9.14\n- turbo (npm): affected from 1.1.0; fixed in 2.9.14\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45772/ (Markdown: https://insights.sbomify.com/CVE-2026-45772/index.md)","id":"CVE-2026-45772","markdown":"https://insights.sbomify.com/CVE-2026-45772/index.md","name":"CVE-2026-45772","record":{"aliases":["GHSA-3qcw-2rhx-2726","MINI-2xrx-pqmj-qpgq"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Turborepo build system","requires_auth":"none","summary":"Attackers can execute arbitrary code by crafting malicious Yarn configurations in repositories processed by vulnerable Turborepo commands.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"turborepo","vendor":"vercel"}],"cvss":{"score":0,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Turborepo: Unexpected local code execution during Yarn Berry detection","id":"CVE-2026-45772","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"Turborepo: Login callback CSRF/session fixation","id":"CVE-2026-45773"},"packages":[{"ecosystem":"npm","fixed":["2.9.14"],"introduced":["2.3.4"],"last_affected":[],"package":"@turbo/codemod","purl":null,"source":"GHSA-3qcw-2rhx-2726"},{"ecosystem":"npm","fixed":["2.9.14"],"introduced":["2.3.4"],"last_affected":[],"package":"@turbo/codemod","purl":"pkg:npm/%40turbo/codemod","source":"GHSA-3qcw-2rhx-2726"},{"ecosystem":"npm","fixed":["2.9.14"],"introduced":["2.3.4"],"last_affected":[],"package":"@turbo/workspaces","purl":null,"source":"GHSA-3qcw-2rhx-2726"},{"ecosystem":"npm","fixed":["2.9.14"],"introduced":["2.3.4"],"last_affected":[],"package":"@turbo/workspaces","purl":"pkg:npm/%40turbo/workspaces","source":"GHSA-3qcw-2rhx-2726"},{"ecosystem":"npm","fixed":["2.9.14"],"introduced":["1.1.0"],"last_affected":[],"package":"turbo","purl":null,"source":"GHSA-3qcw-2rhx-2726"},{"ecosystem":"npm","fixed":["2.9.14"],"introduced":["1.1.0"],"last_affected":[],"package":"turbo","purl":"pkg:npm/turbo","source":"GHSA-3qcw-2rhx-2726"}],"prev":{"headline":"Freeswitch Denial-of-Service in SIP PUBLISH Requests via XML Entity Expansion","id":"CVE-2026-45771"},"products":["codemod","turborepo","workspaces"],"published":"2026-05-15","related":[{"cvss_score":5.1,"headline":"Turborepo: Login callback CSRF/session fixation","id":"CVE-2026-45773","kev_date_added":null,"published":"2026-05-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-15","vendors":["@turbo","vercel"]},"summary":"Attackers can execute arbitrary code by crafting malicious Yarn configurations in repositories processed by vulnerable Turborepo commands.","url":"https://insights.sbomify.com/CVE-2026-45772/"}