p PatchFirst

CVE-2026-59160

CVE-2026-59160 · Yeger: Unauthenticated Network-Exposed Turborepo Task Execution via /api/run

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Yeger is a monorepo for npm packages maintained under the yeger scope. Prior to 2.8.9, the turbo-graph package starts its embedded Next.js server from packages/turbo-graph/src/index.ts on all interfaces, including 0.0.0.0:29312 by default, while the GET handler for /api/run in packages/turbo-graph-ui/app/api/run/route.ts has no authentication, authorization, CSRF protection, or task allowlist. The handler accepts the tasks, filter, and force query parameters, and buildResponseFromArgs passes attacker-selected task names to spawn() as Turbo CLI arguments. An adjacent-network attacker can execute any task defined in the victim repository's turbo.json with the privileges of the developer OS user, potentially exposing secrets, modifying files or infrastructure, or causing destructive availability effects. The use of an argument array prevents traditional shell metacharacter injection but does not prevent unauthorized execution of defined tasks. This issue is fixed in version 2.8.9.

CVSS 8.8 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • yeger

    Versions
    • < 2.8.9: Affected

    No fix published

  • @yeger/turbo-graph npm

    Affected ranges
    • SEMVER: < 2.8.12

    Update to 2.8.12

Original sources

Check your server →