Vulnérabilité dans @yeger/turbo-graph (CVE-2026-59160)
Résumé
Vulnérabilité dans @yeger/turbo-graph (CVE-2026-59160). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via GET /api/run. Atténuation : mise à jour vers 2.8.12 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Unauthenticated Network-Exposed Turborepo Task Execution via /api/run
Summary
@yeger/turbo-graph starts its embedded Next.js server without binding to the loopback interface, causing it to listen on all network interfaces (0.0.0.0:29312 by default). The /api/run HTTP endpoint exposed by this server performs no authentication, authorization, CSRF protection, or task allowlist check before executing attacker-supplied Turborepo task names via spawn(). Any adjacent-network attacker can send an unauthenticated GET request to trigger arbitrary tasks defined in the victim's repository, resulting in code execution, file modification, destructive build side effects, or deployment of attacker-chosen targets with the privileges of the developer's OS user.
Details
Two independent flaws combine to create a remotely exploitable unauthenticated code execution vulnerability:
Flaw 1 — Server bound to all interfaces (not loopback)
packages/turbo-graph/src/index.ts:44 calls .listen(options.port, callback) without passing a hostname argument. Although const hostname = 'localhost' is declared at line 19, it is used only for constructing the console log URL and is never passed to listen(). Node.js therefore defaults to binding on 0.0.0.0 (all IPv4 interfaces) and :: (all IPv6 interfaces), making the server reachable from the local network segment.
// packages/turbo-graph/src/index.ts
19 const hostname = 'localhost' // used only for console URL, n…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-59160 a été découverte dans @yeger/turbo-graph.
Des attaquants peuvent cibler un point d'entrée spécifique comme GET /api/run à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 8.8/10.
Action : mettez à jour @yeger/turbo-graph vers 2.8.12 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « @yeger/turbo-graph CVE-2026-59160 » sur le site de l'éditeur.
CVE-2026-59160 (@yeger/turbo-graph) — CWE-306 / CVSS v3 8.8
Vecteur d'attaque : réseau adjacent / non authentifié / sans interaction utilisateur
Surface d'attaque : GET /api/run / tasks / filter / force
Correctif : 2.8.12 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-306) affecte @yeger/turbo-graph. Les attaquants atteignent le code vulnérable via GET /api/run sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de @yeger/turbo-graph. Surface d'attaque : GET /api/run / tasks / filter / force.
Gravité : Élevée (CVSS 8.8/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 2.8.12.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers GET /api/run (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver @yeger/turbo-graph.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r '@yeger/turbo-graph' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@yeger/turbo-graphを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'GET /api/run' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
GET /api/runへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply patch patch
Upgrade @yeger/turbo-graph to 2.8.12ステージング環境で 2.8.12 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4Post-deployment verification verify
Replay attack against GET /api/run on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web github.com
- web github.com