{"id":"CVE-2026-45773","aliases":["CVE-2026-45773","GHSA-hcf7-66rw-9f5r"],"related":[],"kind":"vulnerability","state":"published","title":"Turborepo: Login callback CSRF/session fixation","summary":"Turborepo is a high-performance build system for JavaScript and TypeScript codebases. Prior to 2.9.14, Turborepo's self-hosted login and SSO browser flows did not validate a CSRF state value on the localhost callback. While the CLI was waiting for authentication, a malicious web page could send a request to the local callback server with an attacker-controlled token. If accepted before the legitimate callback, the CLI could complete login with the wrong credentials. This affects users authenticating the turbo CLI against self-hosted remote cache/auth endpoints. Vercel-hosted login flows using device authorization are not affected. This vulnerability is fixed in 2.9.14.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Turborepo is a high-performance build system for JavaScript and TypeScript codebases. Prior to 2.9.14, Turborepo's self-hosted login and SSO browser flows did not validate a CSRF state value on the localhost callback. While the CLI was waiting for authentication, a malicious web page could send a request to the local callback server with an attacker-controlled token. If accepted before the legitimate callback, the CLI could complete login with the wrong credentials. This affects users authenticating the turbo CLI against self-hosted remote cache/auth endpoints. Vercel-hosted login flows using device authorization are not affected. This vulnerability is fixed in 2.9.14.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nTurborepo's self-hosted login and SSO browser flows did not validate a CSRF state value on the localhost callback. While the CLI was waiting for authentication, a malicious web page could send a request to the local callback server with an attacker-controlled token. If accepted before the legitimate callback, the CLI could complete login with the wrong credentials.\n\nThis affects users authenticating the `turbo` CLI against self-hosted remote cache/auth endpoints. Vercel-hosted login flows using device authorization are not affected.\n\n### Fix\n\nThe login and SSO redirect flows now generate a random state value, include it in the browser authentication URL, and require the same value on the localhost callback before accepting a token. Callbacks with a missing or mismatched state are rejected.\n\n### Workarounds\n\nIf you cannot upgrade immediately, avoid browser-based self-hosted `turbo login` or SSO flows on machines that may load untrusted web content during authentication. Use a pre-provisioned token or environment-based authentication instead.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Turborepo es un sistema de compilación de alto rendimiento para bases de código JavaScript y TypeScript. Antes de la versión 2.9.14, los flujos de inicio de sesión autoalojados y SSO del navegador de Turborepo no validaban un valor de estado CSRF en la devolución de llamada de localhost. Mientras la CLI esperaba la autenticación, una página web maliciosa podía enviar una solicitud al servidor de devolución de llamada local con un token controlado por el atacante. Si se aceptaba antes de la devolución de llamada legítima, la CLI podía completar el inicio de sesión con las credenciales incorrectas. Esto afecta a los usuarios que autentican la CLI de turbo contra puntos finales de caché/autenticación remotos autoalojados. Los flujos de inicio de sesión alojados en Vercel que utilizan la autorización de dispositivo no se ven afectados. Esta vulnerabilidad está corregida en la versión 2.9.14.","source":"nvd"}],"published":"2026-05-15T15:51:38.066Z","modified":"2026-10-26T14:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:H/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:H/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:H/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-352","CWE-384"],"affected":[{"ranges":[{"version":"< 2.9.14","status":"affected"}],"vendor":"vercel","product":"turborepo","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.9.14"}],"ecosystem":"npm","package":"turbo","purl":"pkg:npm/turbo","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.9.14"}],"vendor":"vercel","product":"turborepo","cpe":"cpe:2.3:a:vercel:turborepo:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vercel/turborepo/security/advisories/GHSA-hcf7-66rw-9f5r","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45773","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vercel/turborepo","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-15T16:44:57.841Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45773","url":"https://www.cve.org/CVERecord?id=CVE-2026-45773","licence":"CVE Terms of Use","modified":"2026-05-15T16:45:06.076Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hcf7-66rw-9f5r","url":"https://github.com/advisories/GHSA-hcf7-66rw-9f5r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.005Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45773","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45773","licence":"Public domain","modified":"2026-10-26T14:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:21.817Z","epss":{"score":0.00124,"percentile":0.02356,"date":"2026-12-01T12:00:22.000Z"}}