Vulnérabilités / CVE-2026-45321

critique

CVE-2026-45321

Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys

Publiée Modifiée CWE 506
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

GHSA9.7CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Le label propre à Trivy est CRITICAL. Critique selon GHSA.

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
npm::GitHub Security Advisory npm@tanstack/arktype-adapter, @tanstack/eslint-plugin-router, @tanstack/eslint-plugin-start et 39 autres1.166.16, 1.166.16 et 27 autres
Afficher les 42 entrées d'une source
SourcePaquetCorrigé en
npm::GitHub Security Advisory npm@tanstack/arktype-adapter1.166.16, 1.166.16
npm::GitHub Security Advisory npm@tanstack/eslint-plugin-router1.161.13, 1.161.13
npm::GitHub Security Advisory npm@tanstack/eslint-plugin-start0.0.8, 0.0.8
npm::GitHub Security Advisory npm@tanstack/history1.161.13, 1.161.13
npm::GitHub Security Advisory npm@tanstack/nitro-v2-vite-plugin1.154.16, 1.154.16
npm::GitHub Security Advisory npm@tanstack/react-router1.169.9, 1.169.9
npm::GitHub Security Advisory npm@tanstack/react-router-devtools1.166.20, 1.166.20
npm::GitHub Security Advisory npm@tanstack/react-router-ssr-query1.166.19, 1.166.19
npm::GitHub Security Advisory npm@tanstack/react-start1.167.72, 1.167.72
npm::GitHub Security Advisory npm@tanstack/react-start-client1.166.55, 1.166.55
npm::GitHub Security Advisory npm@tanstack/react-start-rsc0.0.51, 0.0.51
npm::GitHub Security Advisory npm@tanstack/react-start-server1.166.59, 1.166.59
npm::GitHub Security Advisory npm@tanstack/router-cli1.166.50, 1.166.50
npm::GitHub Security Advisory npm@tanstack/router-core1.169.9, 1.169.9
npm::GitHub Security Advisory npm@tanstack/router-devtools1.166.20, 1.166.20
npm::GitHub Security Advisory npm@tanstack/router-devtools-core1.167.10, 1.167.10
npm::GitHub Security Advisory npm@tanstack/router-generator1.166.49, 1.166.49
npm::GitHub Security Advisory npm@tanstack/router-plugin1.167.42, 1.167.42
npm::GitHub Security Advisory npm@tanstack/router-ssr-query-core1.168.7, 1.168.7
npm::GitHub Security Advisory npm@tanstack/router-utils1.161.15, 1.161.15
npm::GitHub Security Advisory npm@tanstack/router-vite-plugin1.166.57, 1.166.57
npm::GitHub Security Advisory npm@tanstack/solid-router1.169.9, 1.169.9
npm::GitHub Security Advisory npm@tanstack/solid-router-devtools1.166.20, 1.166.20
npm::GitHub Security Advisory npm@tanstack/solid-router-ssr-query1.166.19, 1.166.19
npm::GitHub Security Advisory npm@tanstack/solid-start1.167.69, 1.167.69
npm::GitHub Security Advisory npm@tanstack/solid-start-client1.166.54, 1.166.54
npm::GitHub Security Advisory npm@tanstack/solid-start-server1.166.58, 1.166.58
npm::GitHub Security Advisory npm@tanstack/start-client-core1.168.9, 1.168.9
npm::GitHub Security Advisory npm@tanstack/start-fn-stubs1.161.13, 1.161.13
npm::GitHub Security Advisory npm@tanstack/start-plugin-core1.169.27, 1.169.27
npm::GitHub Security Advisory npm@tanstack/start-server-core1.167.37, 1.167.37
npm::GitHub Security Advisory npm@tanstack/start-static-server-functions1.166.48, 1.166.48
npm::GitHub Security Advisory npm@tanstack/start-storage-context1.166.42, 1.166.42
npm::GitHub Security Advisory npm@tanstack/valibot-adapter1.166.16, 1.166.16
npm::GitHub Security Advisory npm@tanstack/virtual-file-routes1.161.14, 1.161.14
npm::GitHub Security Advisory npm@tanstack/vue-router1.169.9, 1.169.9
npm::GitHub Security Advisory npm@tanstack/vue-router-devtools1.166.20, 1.166.20
npm::GitHub Security Advisory npm@tanstack/vue-router-ssr-query1.166.19, 1.166.19
npm::GitHub Security Advisory npm@tanstack/vue-start1.167.65, 1.167.65
npm::GitHub Security Advisory npm@tanstack/vue-start-client1.166.50, 1.166.50
npm::GitHub Security Advisory npm@tanstack/vue-start-server1.166.54, 1.166.54
npm::GitHub Security Advisory npm@tanstack/zod-adapter1.166.16, 1.166.16

Références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.