CVE-2026-45773: Turbo Login Callback CSRF/session Fixation Vulnerability
MODERATECVE-2026-45773 is a MODERATE login callback csrf/session fixation vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Turbo libraries in the npm ecosystem. The issue involves login callback csrf/session fixation. Remediation is available by upgrading affected packages to version 2.9.14.
CVE-2026-45773 at a Glance
How to Fix CVE-2026-45773
To remediate this vulnerability, upgrade all affected Turbo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install turbo@2.9.14
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls turbo
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-45773, inspect your project dependencies using npm:
npm ls turbo
Analyze the terminal output to locate any version of Turbo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.14), your application is affected.
Note: The npm ls turbo command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Turbo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45773 Affected Turbo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
turbo
|
npm |
< 2.9.14
|
2.9.14
|
References
Frequently Asked Questions
What is CVE-2026-45773?
Which Turbo versions are affected?
What version fixes CVE-2026-45773?
Is turbo affected?
What CWE is associated with CVE-2026-45773?
How can I check npm dependencies for CVE-2026-45773?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hcf7-66rw-9f5r",
"modified" : "2026-06-29T15:30:55Z",
"published" : "2026-05-19T19:49:52Z",
"aliases" : [ "CVE-2026-45773" ],
"summary" : "Turbo: Login callback CSRF/session fixation",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "turbo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.9.13"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vercel/turborepo/security/advisories/GHSA-hcf7-66rw-9f5r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45773"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vercel/turborepo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-19T19:49:52Z",
"nvd_published_at" : "2026-05-15T16:16:15Z"
}
}