CSRF Vulnerability in Turborepo Build System by Vercel
CVE-2026-45773
What is CVE-2026-45773?
Turborepo, a high-performance build system for JavaScript and TypeScript, contains a CSRF vulnerability in versions prior to 2.9.14. This weakness arises from the lack of validation for the CSRF state value during self-hosted login and SSO browser flows on the localhost callback. If a malicious web page sends a request with an attacker-controlled token while the CLI is waiting for authentication, it may accept incorrect credentials before a legitimate callback is processed. Importantly, this vulnerability impacts users authenticating the turbo CLI against self-hosted remote cache/auth endpoints, while Vercel-hosted login flows using device authorization remain unaffected. Users should upgrade to version 2.9.14 to mitigate this risk.
Affected Version(s)
turborepo < 2.9.14