Skip to main content

Turborepo EUVDEUVD-2026-30553

| CVE-2026-45773 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-05-15 GitHub_M GHSA-hcf7-66rw-9f5r
5.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Social engineering (phishing/watering hole)
  2. Delivery
    Victim initiates 'turbo login' on self-hosted endpoint
  3. Exploit
    Victim visits attacker page
  4. Execution
    Attacker sends malicious callback to localhost
  5. Persist
    CLI accepts forged credentials
  6. Impact
    Subsequent builds use attacker's cache credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires victim to be actively authenticating Turborepo CLI against a self-hosted remote cache endpoint at the moment of attack - specifically during the window between running 'turbo login' and completing the OAuth callback (typically 30-120 seconds). Victim must simultaneously visit attacker-controlled web page capable of making requests to localhost (standard browser same-origin policy allows this for localhost targets). Attack succeeds only if the malicious callback request arrives before the legitimate OAuth redirect from the authentication server, creating a race condition that depends on network latency and server response times. Does not affect Vercel-hosted Turborepo deployments using device authorization flow. Only impacts self-hosted authentication endpoints where organizations have implemented custom OAuth providers for remote cache access control. Attack is limited by user interaction requirement (UI:P) - developer must be tricked into visiting malicious site during narrow authentication window - and present attack timing (AT:P) due to race condition nature.

Impact

Real-world risk is moderate and highly situational. The CVSS base score of 5.1 reflects the dependency on user interaction (UI:P) and specific attack timing (AT:P - the malicious callback must win a race condition against the legitimate OAuth server response). EPSS data not provided, but the attack requirements significantly constrain exploitation: (1) victim must be actively authenticating turbo CLI during attack window, (2) attacker must induce victim to visit malicious web page simultaneously, (3) attacker's callback must arrive before legitimate OAuth response (timing-dependent race), (4) only affects self-hosted deployments with custom authentication endpoints. The CVSS vector shows high subsequent integrity impact (SI:H), meaning successful credential injection could poison build artifacts or leak proprietary code through compromised cache credentials in later operations. No CISA KEV listing and no public exploit identified at time of analysis, suggesting this remains a theoretical attack not yet weaponized. Priority for remediation: HIGH for organizations using self-hosted Turborepo with team-shared remote caches (supply chain risk), LOW for Vercel-hosted users (explicitly not vulnerable) or standalone local builds. The narrow attack surface and user interaction requirement reduce urgency compared to unauthenticated RCE, but the potential supply chain impact warrants prompt patching in affected environments.

Exploit ScenarioDerived

A developer at a company using self-hosted Turborepo initiates CLI login by running 'turbo login' against their corporate remote cache server. While the CLI waits for the OAuth callback on http://localhost:9789, the developer visits a malicious website (delivered via phishing email or watering hole attack). The attacker's JavaScript sends a crafted POST request to the known localhost callback endpoint with an attacker-controlled authorization token before the legitimate OAuth server completes its redirect. The CLI's callback handler accepts the malicious token due to missing state validation and completes authentication with the attacker's credentials. Subsequent 'turbo build' commands now push build artifacts to the attacker's remote cache or pull poisoned dependencies, enabling supply chain compromise of the organization's builds.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 15, 2026

CSRF vulnerability in Turborepo's self-hosted authentication flow allows credential injection attacks when users authenticate the CLI against self-hosted remote cache endpoints. An attacker-controlled web page can send a malicious token to the localhost callback server during the login process. If the malicious callback arrives before the legitimate OAuth response, the CLI completes authentication with attacker-supplied credentials, leading to high integrity impact on subsequent build operations. This affects users of self-hosted Turborepo deployments only - Vercel's hosted device authorization flows are not vulnerable. Fixed in version 2.9.14.

RemediationAI

Upgrade Turborepo to version 2.9.14 or later, which implements proper CSRF state parameter validation in the localhost OAuth callback handler. For npm/yarn installations, run 'npm update turbo' or 'yarn upgrade turbo' to install the patched version. The fix adds cryptographic validation to ensure callback requests originate from the same authorization flow initiated by the CLI. Official vendor advisory with technical details is available at https://github.com/vercel/turborepo/security/advisories/GHSA-hcf7-66rw-9f5r. For organizations unable to immediately upgrade, implement compensating controls with trade-offs: (1) Restrict CLI authentication to trusted networks only - limits where 'turbo login' can be executed but may disrupt remote developer workflows. (2) Educate developers to avoid browsing untrusted websites during CLI authentication flows - relies on user behavior change, difficult to enforce. (3) Use short-lived authentication tokens and rotate frequently - reduces window of compromised credential utility but increases operational overhead. (4) Monitor authentication logs for anomalous token usage patterns (e.g., tokens used from unexpected IP ranges immediately after issuance). Note that workarounds provide incomplete protection; upgrading to 2.9.14 is the only complete remediation.

Affected VersionsENISA

turborepo < 2.9.14

Affected Packages

npm turbo fix: 2.9.14
euvd turborepo fix: 2.9.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Turborepo is a build system orchestrator for JavaScript/TypeScript monorepos, supporting remote caching to accelerate builds across teams. The affected component is the CLI's OAuth-style authentication flow for self-hosted remote cache servers. During login, the CLI spawns a local HTTP server on localhost to receive the OAuth callback with an authorization code. The vulnerability stems from missing CSRF state parameter validation (CWE-352) - the callback handler accepted any incoming request without verifying the cryptographic state token that binds the authorization request to the callback response. This violates OAuth 2.0 security best practices (RFC 6749 Section 10.12). The affected product is identified by CPE cpe:2.3:a:vercel:turborepo:*:*:*:*:*:*:*:* covering all versions prior to 2.9.14. The CVSS 4.0 vector indicates network-based attack (AV:N) with low complexity (AC:L) but requiring present attack conditions (AT:P) and user interaction (UI:P), resulting in high subsequent integrity impact (SI:H) while vulnerable system integrity impact remains low (VI:L).

Know when Turborepo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.1 MEDIUM
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

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
May 15, 2026 - 17:01 EUVD
CVSS changed
May 15, 2026 - 16:22 NVD
5.1 (MEDIUM)

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on turbo (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.9.14.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy