Catégories
CVE-2026-45321 CISA KEV critical CVSS 9.6

[KEV] Vulnérabilité dans TanStack (CVE-2026-45321)

Résumé

Vulnérabilité dans TanStack (CVE-2026-45321). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via pull_request_target. Inscrit au CISA KEV — exploitation active confirmée. Atténuation : mise à jour vers 1.166.16 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Summary

On 2026-05-11, between approximately 19:20 and 19:26 UTC, 84 malicious versions across 42 @tanstack/* packages were published to the npm registry. The publishes were authenticated via the legitimate GitHub Actions OIDC trusted-publisher binding for TanStack/router, but the publish workflow itself was not modified. The attacker chained three known vulnerability classes — a pull_request_target "Pwn Request" misconfiguration, GitHub Actions cache poisoning across the fork↔base trust boundary, and runtime memory extraction of the OIDC token from the Actions runner process — to publish credential-stealing malware under a trusted identity.

Each affected package received exactly two malicious versions, published a few minutes apart.

Impact

A user installing any affected version executes a payload (~2.3 MB obfuscated router_init.js) at install time that:

  • Harvests credentials from common locations:
    • AWS instance metadata (IMDS) and Secrets Manager
    • GCP metadata service
    • Kubernetes service-account tokens
    • HashiCorp Vault tokens
    • ~/.npmrc (npm tokens)
    • GitHub tokens (env vars, gh CLI config, .git-credentials)
    • SSH private keys (~/.ssh/)
  • Exfiltrates harvested data over the Session/Oxen messenger file-upload network (filev2.getsession.org, seed{1,2,3}.getsession.org). This is end-to-end encrypted with no attacker-controlled C2, so blocking by IP or domain is the only network mitigation.
  • Enumerates packages that the victim m…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory CISA KEV

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-45321 a été découverte dans TanStack.
Des attaquants peuvent cibler un point d'entrée spécifique comme pull_request_target à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 9.6/10.
Note : la CISA a officiellement confirmé que cette faille est activement exploitée. À traiter avec une urgence élevée.
Action : mettez à jour TanStack vers 1.166.16 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « TanStack CVE-2026-45321 » sur le site de l'éditeur.

CVE-2026-45321 (TanStack) — CVSS v3 9.6
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : pull_request_target / router_init.js / filev2.getsession.org / optionalDependencies
Correctif : 1.166.16 — appliquer immédiatement
Inscrit au CISA KEV — exploitation active confirmée, priorité absolue.
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.

❓ Quel est le problème

Une vulnérabilité (non classée) affecte TanStack. Les attaquants atteignent le code vulnérable via pull_request_target sans authentification.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de TanStack. Surface d'attaque : pull_request_target / router_init.js / filev2.getsession.org / optionalDependencies.

🔥 Gravité

Gravité : Critique (CVSS 9.6/10). L'exploitation peut entraîner la prise de contrôle totale du système. Inscrit au CISA KEV — exploitation active confirmée, à traiter en priorité absolue.

🔧 Comment corriger

Mettre à jour vers 1.166.16.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r '@tanstack/arktype-adapter' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で @tanstack/arktype-adapter を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Consider incident declaration escalate
    Notify SOC / on-call

    CISA KEV登録済 = 実環境で悪用が観測されている。侵入の兆候があればインシデント対応宣言、無くてもパッチ適用までWAF強化を最優先で。

  3. 3
    Apply patch patch
    Upgrade TanStack to 1.166.16

    ステージング環境で 1.166.16 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

npm @tanstack/arktype-adapter
[{"type":"SEMVER","events":[{"introduced":"1.166.15"},{"fixed":"1.166.16"}]}]
npm @tanstack/eslint-plugin-router
[{"type":"SEMVER","events":[{"introduced":"1.161.12"},{"fixed":"1.161.13"}]}]
npm @tanstack/eslint-plugin-start
[{"type":"SEMVER","events":[{"introduced":"0.0.7"},{"fixed":"0.0.8"}]}]
npm @tanstack/history
[{"type":"SEMVER","events":[{"introduced":"1.161.12"},{"fixed":"1.161.13"}]}]
npm @tanstack/nitro-v2-vite-plugin
[{"type":"SEMVER","events":[{"introduced":"1.154.15"},{"fixed":"1.154.16"}]}]
npm @tanstack/react-router
[{"type":"SEMVER","events":[{"introduced":"1.169.8"},{"fixed":"1.169.9"}]}]
npm @tanstack/react-router-devtools
[{"type":"SEMVER","events":[{"introduced":"1.166.19"},{"fixed":"1.166.20"}]}]
npm @tanstack/react-router-ssr-query
[{"type":"SEMVER","events":[{"introduced":"1.166.18"},{"fixed":"1.166.19"}]}]
npm @tanstack/react-start
[{"type":"SEMVER","events":[{"introduced":"1.167.71"},{"fixed":"1.167.72"}]}]
npm @tanstack/react-start-client
[{"type":"SEMVER","events":[{"introduced":"1.166.54"},{"fixed":"1.166.55"}]}]
npm @tanstack/react-start-rsc
[{"type":"SEMVER","events":[{"introduced":"0.0.50"},{"fixed":"0.0.51"}]}]
npm @tanstack/react-start-server
[{"type":"SEMVER","events":[{"introduced":"1.166.58"},{"fixed":"1.166.59"}]}]
npm @tanstack/router-cli
[{"type":"SEMVER","events":[{"introduced":"1.166.49"},{"fixed":"1.166.50"}]}]
npm @tanstack/router-core
[{"type":"SEMVER","events":[{"introduced":"1.169.8"},{"fixed":"1.169.9"}]}]
npm @tanstack/router-devtools
[{"type":"SEMVER","events":[{"introduced":"1.166.19"},{"fixed":"1.166.20"}]}]
npm @tanstack/router-devtools-core
[{"type":"SEMVER","events":[{"introduced":"1.167.9"},{"fixed":"1.167.10"}]}]
npm @tanstack/router-generator
[{"type":"SEMVER","events":[{"introduced":"1.166.48"},{"fixed":"1.166.49"}]}]
npm @tanstack/router-plugin
[{"type":"SEMVER","events":[{"introduced":"1.167.41"},{"fixed":"1.167.42"}]}]
npm @tanstack/router-ssr-query-core
[{"type":"SEMVER","events":[{"introduced":"1.168.6"},{"fixed":"1.168.7"}]}]
npm @tanstack/router-utils
[{"type":"SEMVER","events":[{"introduced":"1.161.14"},{"fixed":"1.161.15"}]}]
npm @tanstack/router-vite-plugin
[{"type":"SEMVER","events":[{"introduced":"1.166.56"},{"fixed":"1.166.57"}]}]
npm @tanstack/solid-router
[{"type":"SEMVER","events":[{"introduced":"1.169.8"},{"fixed":"1.169.9"}]}]
npm @tanstack/solid-router-devtools
[{"type":"SEMVER","events":[{"introduced":"1.166.19"},{"fixed":"1.166.20"}]}]
npm @tanstack/solid-router-ssr-query
[{"type":"SEMVER","events":[{"introduced":"1.166.18"},{"fixed":"1.166.19"}]}]
npm @tanstack/solid-start
[{"type":"SEMVER","events":[{"introduced":"1.167.68"},{"fixed":"1.167.69"}]}]
npm @tanstack/solid-start-client
[{"type":"SEMVER","events":[{"introduced":"1.166.53"},{"fixed":"1.166.54"}]}]
npm @tanstack/solid-start-server
[{"type":"SEMVER","events":[{"introduced":"1.166.57"},{"fixed":"1.166.58"}]}]
npm @tanstack/start-client-core
[{"type":"SEMVER","events":[{"introduced":"1.168.8"},{"fixed":"1.168.9"}]}]
npm @tanstack/start-fn-stubs
[{"type":"SEMVER","events":[{"introduced":"1.161.12"},{"fixed":"1.161.13"}]}]
npm @tanstack/start-plugin-core
[{"type":"SEMVER","events":[{"introduced":"1.169.26"},{"fixed":"1.169.27"}]}]
npm @tanstack/start-server-core
[{"type":"SEMVER","events":[{"introduced":"1.167.36"},{"fixed":"1.167.37"}]}]
npm @tanstack/start-static-server-functions
[{"type":"SEMVER","events":[{"introduced":"1.166.47"},{"fixed":"1.166.48"}]}]
npm @tanstack/start-storage-context
[{"type":"SEMVER","events":[{"introduced":"1.166.41"},{"fixed":"1.166.42"}]}]
npm @tanstack/valibot-adapter
[{"type":"SEMVER","events":[{"introduced":"1.166.15"},{"fixed":"1.166.16"}]}]
npm @tanstack/virtual-file-routes
[{"type":"SEMVER","events":[{"introduced":"1.161.13"},{"fixed":"1.161.14"}]}]
npm @tanstack/vue-router
[{"type":"SEMVER","events":[{"introduced":"1.169.8"},{"fixed":"1.169.9"}]}]
npm @tanstack/vue-router-devtools
[{"type":"SEMVER","events":[{"introduced":"1.166.19"},{"fixed":"1.166.20"}]}]
npm @tanstack/vue-router-ssr-query
[{"type":"SEMVER","events":[{"introduced":"1.166.18"},{"fixed":"1.166.19"}]}]
npm @tanstack/vue-start
[{"type":"SEMVER","events":[{"introduced":"1.167.64"},{"fixed":"1.167.65"}]}]
npm @tanstack/vue-start-client
[{"type":"SEMVER","events":[{"introduced":"1.166.49"},{"fixed":"1.166.50"}]}]
npm @tanstack/vue-start-server
[{"type":"SEMVER","events":[{"introduced":"1.166.53"},{"fixed":"1.166.54"}]}]
npm @tanstack/zod-adapter
[{"type":"SEMVER","events":[{"introduced":"1.166.15"},{"fixed":"1.166.16"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus