CVE-2026-45321: TanStack GitHub Actions supply-chain compromise
- Vendors
- AgentworkhqBeProductMultiagentcognitionNeilcochranDirigibleMatheuspergoliChristianalaresGuardrails AI
CVE-2026-45321 tracks a chained CI/CD compromise that enabled publication of 84 malicious versions across 42 TanStack npm packages on May 11, 2026. An unsafe pull_request_target workflow executed attacker-controlled fork code in the privileged base-repository context, allowing poisoning of a GitHub Actions dependency cache. A subsequent legitimate release workflow restored the poisoned cache and executed attacker-controlled binaries, which extracted an OIDC token from runner process memory. The attacker used the token to publish credential-stealing packages under TanStack's legitimate trusted-publisher identity without modifying the publishing workflow. The malicious releases carried valid SLSA Build Level 3 provenance attestations and executed malware during installation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The compromise undermined package integrity and the assurance provided by trusted publishing and build provenance. Installing affected releases exposed developer workstations and CI runners to malware that harvested cloud credentials, GitHub and npm tokens, Kubernetes and Vault tokens, and SSH keys. Stolen publishing credentials could enable further package compromises. Downstream incidents attributed to the TanStack compromise included unauthorized cloning of private source-code repositories using stolen OAuth tokens.
Mitigation
If you can’t patch tonight, do this now.
Pin TanStack dependencies to known-good releases published before May 11, 2026, at 19:00 UTC until clean replacements are verified. Clear installed dependencies and lockfiles before reinstalling to avoid retaining malicious transitive versions. Temporarily disable unnecessary npm lifecycle scripts. Audit CI pipelines that installed TanStack packages during the identified May 11 publication window, isolate affected runners, and rotate accessible secrets. Restrict CI/CD service-account permissions and token scope, remove stale repository access, and monitor developer endpoints. Valid provenance and package signatures alone are insufficient to establish that a release is benign.
Remediation
Patch, then assume compromise.
Replace each affected package with the clean or patched version identified in the vendor advisory; exact replacement versions are not available in this context. Remove compromised dependencies and artifacts and reinstall using a clean lockfile. Treat hosts and CI runners that executed affected packages as compromised and rebuild them from trusted images. Immediately revoke or rotate all credentials accessible to those environments, and investigate cloud, source-control, registry, and CI/CD audit logs for unauthorized activity. Apply vendor mitigations or discontinue affected software if mitigations are unavailable. The CISA KEV remediation deadline was June 10, 2026.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 10 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-45321 exploited in the wild?
- Yes. As of Oct 10, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 27, 2026.
- Is there a public exploit for CVE-2026-45321?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-45321, the earliest disclosed Jun 21, 2026.
- Is there a patch for CVE-2026-45321?
- Replace each affected package with the clean or patched version identified in the vendor advisory; exact replacement versions are not available in this context. Remove compromised dependencies and artifacts and reinstall using a clean lockfile.
- What products are affected by CVE-2026-45321?
- Tanstack/Arktype-Adapter, Tanstack/Eslint-Plugin-Router, Tanstack/Eslint-Plugin-Start, Tanstack/History, Tanstack/Nitro-V2-Vite-Plugin, and at least 166 more.
- How severe is CVE-2026-45321?
- CVE-2026-45321 has a CVSS v3.1 score of 9.6 (Critical) and an EPSS score of 3.3% (89th percentile) as of Oct 10, 2026.
Recent activity
51 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.