Malicious Package Injection in TanStack Products by npm Attackers
CVE-2026-45321

9.6CRITICAL

Key Information:

Vendor

@tanstack

Vendor
CVE Published:
12 May 2026

What is CVE-2026-45321?

On May 11, 2026, an attacker exploited multiple vulnerabilities to inject malicious versions of 84 packages across 42 TanStack npm packages. The malicious versions were published using legitimate GitHub Actions, taking advantage of a misconfiguration in pull_request_target workflows and a known cache poisoning flaw. This complex attack allowed the attacker to leverage a trusted identity to distribute malware capable of stealing credentials. Each affected package received two versions with this malicious content shortly after each other, highlighting a significant risk in package management ecosystems.

Affected Version(s)

arktype-adapter 1.166.12

arktype-adapter 1.166.15

eslint-plugin-router 1.161.9

References

CVSS V3.1

Score:
9.6
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.