{"id":"GHSA-hcf7-66rw-9f5r","revision":"12167c17df7f4b3e8c549a2cc64f25d3","records":[{"revision":"12167c17df7f4b3e8c549a2cc64f25d3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hcf7-66rw-9f5r","aliases":["CVE-2026-45773"],"title":"Turbo: Login callback CSRF/session fixation","description":"### 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.","state":0,"publishedAt":"2026-05-19T19:49:52+00:00","modifiedAt":"2026-09-10T03:50:47.0058135+00:00","affected":[{"ecosystem":"npm","name":"turbo","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.9.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/vercel/turborepo/security/advisories/GHSA-hcf7-66rw-9f5r","https://nvd.nist.gov/vuln/detail/CVE-2026-45773","https://github.com/vercel/turborepo"],"sourceUrl":"https://github.com/advisories/GHSA-hcf7-66rw-9f5r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hcf7-66rw-9f5r","identifiers":["GHSA-hcf7-66rw-9f5r","CVE-2026-45773"]},"retained":false,"historicalAffected":[]}],"coverage":[]}