Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-45321: TanStack GitHub Actions supply-chain compromise

Published May 12, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.6Critical · v3.1
EPSS3.3%89th percentile
CISA KEVYesAdded May 27, 2026
In the wildActivePer CISA KEV
Vendors
AgentworkhqBeProductMultiagentcognitionNeilcochranDirigibleMatheuspergoliChristianalaresGuardrails AI
IdentifiersCVE-2026-45321CWE-829

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 10 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-45321-TanstackThis repository is a small educational proof-of-concept simulating an npm supply-chain compromise associated with CVE-2026-45321 and a TanStack-themed package name. The repo contains 5 files: a README, a GitHub Actions workflow snippet (`download (2)`), an npm lockfile-like JSON (`download (7)`), a package manifest mislabeled as `payload.js`, and a JavaScript payload mislabeled as `tanstack-react-router-1.169.5.tgz`. Despite the filename/content mismatch, the intended structure is clear from the README. Core exploit behavior: the malicious package impersonates `@tanstack/react-router` version `1.169.5` and defines a `postinstall` script (`node payload.js`). When the victim installs the tarball, npm executes the lifecycle hook automatically. The payload then collects simple host metadata (`USER`, hostname, platform), prints a marker string (`=== MALICIOUS PAYLOAD EXECUTED ===`), and writes the data to `loot.txt`. This demonstrates install-time arbitrary code execution rather than remote exploitation. The repository does not contain a full offensive framework and is not a detection script. It is an operational PoC because it includes a working payload, though the payload is basic and hardcoded. The main attack vectors are supply-chain compromise of a dependency, CI/CD execution through GitHub Actions `pull_request_target` workflows that run `npm install`, and local file-based package installation via a tarball path. No external C2, exfiltration endpoint, or network beaconing is present in the code; all observable actions are local file writes and console output. Notable endpoints and artifacts include the local tarball path `../attacker-package/tanstack-react-router-1.169.5.tgz`, the output file `loot.txt`, the lifecycle command `node payload.js`, and references to GitHub, NVD, npm, and GitHub Actions documentation. Overall, the repository’s purpose is to demonstrate how a malicious npm package can abuse lifecycle hooks to gain code execution during dependency installation, especially in developer or CI environments that implicitly trust package installs.adriannurrr · Disclosed Jun 21, 2026 · markdown · yaml · supply_chain · cloud · fileOperationalCVE-2026-45321-TanstackThis repository is a small educational lab that simulates an npm supply-chain attack associated with CVE-2026-45321/TanStack-themed compromise scenarios. It is not a full offensive toolkit; instead, it demonstrates how a malicious package can achieve install-time code execution through the npm `postinstall` lifecycle hook and how similar behavior could affect CI/CD pipelines. Repository structure: `attacker-package/` contains the core exploit logic, including `package.json` and `payload.js`; `fake-repo/` contains a GitHub Actions workflow simulation (`test.yml`) showing how CI could invoke installation of the malicious package; `victim-project/` is a placeholder directory representing the victim environment. The main exploit capability resides in `attacker-package/package.json`, which defines `postinstall: node payload.js`, causing `payload.js` to run automatically when the package is installed. The payload itself is simple but functional: it imports Node's `os` and `fs` modules, prints a marker string indicating execution, collects `USER`, hostname, and platform information, and writes that data to `loot.txt`. There is no network exfiltration, persistence, privilege escalation, or remote command-and-control in the provided code. As such, the exploit is operational as a local proof of install-time execution, but the payload is basic and hardcoded. The CI/CD simulation in `fake-repo/test.yml` uses a `pull_request_target` workflow and demonstrates how an install step could execute attacker-controlled package code on a GitHub Actions runner. This reinforces the repository's purpose as a supply-chain and CI/CD abuse demonstration rather than a stealthy real-world malware sample.7whyex · Disclosed Jun 25, 2026 · markdown · json · supply_chain · file · cloudOperational
Exposure surface

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.

VendorProductType
Abhishake1Supersurkhet/Cliapplication
Abhishake1Supersurkhet/Sdkapplication
Abhishake1Taskflow-Corp/Cliapplication
AgentworkhqAgentwork-Cliapplication
AntoinebcxMl-Toolkit-Tsapplication
AntoinebcxMl-Toolkit-Ts/Preprocessingapplication
AntoinebcxMl-Toolkit-Ts/Xgboostapplication
BeProductBeproduct/Nestjs-Authapplication
ChristianalaresGit Branch Selectorapplication
ChristianalaresGit-Git-Gitapplication
ChristianalaresNextmove-Mcpapplication
ChristianalaresTolka/Cliapplication
DirigibleDirigible-Ai/Sdkapplication
Guardrails AIGuardrails Aiapplication
KilbotTallyui/Componentsapplication
KilbotTallyui/Connector-Medusaapplication
KilbotTallyui/Connector-Shopifyapplication
KilbotTallyui/Connector-Vendureapplication
KilbotTallyui/Connector-Woocommerceapplication
KilbotTallyui/Coreapplication
KilbotTallyui/Databaseapplication
KilbotTallyui/Posapplication
KilbotTallyui/Storage-Sqliteapplication
KilbotTallyui/Themeapplication
Linux FoundationOpensearchapplication
MatheuspergoliDraftauth/Clientapplication
MatheuspergoliDraftauth/Coreapplication
MatheuspergoliDraftlab/Authapplication
MatheuspergoliDraftlab/Auth-Routerapplication
MatheuspergoliDraftlab/Dbapplication
MatheuspergoliSimple Type-Safe Actionsapplication
MesaMesadev/Restapplication
MesaMesadev/Saguaroapplication
MesaMesadev/Sdkapplication
Mistral AIMistralaiapplication
Mistral AIMistralai/Mistralaiapplication
Mistral AIMistralai/Mistralai-Azureapplication
Mistral AIMistralai/Mistralai-Gcpapplication
MultiagentcognitionCmux-Agent-Mcpapplication
NeilcochranCross-Stitchapplication
NeilcochranSquawk/Airportsapplication
NeilcochranSquawk/Airspaceapplication
NeilcochranSquawk/Airspace-Dataapplication
NeilcochranSquawk/Airway-Dataapplication
NeilcochranSquawk/Airwaysapplication
NeilcochranSquawk/Fix-Dataapplication
NeilcochranSquawk/Fixesapplication
NeilcochranSquawk/Flight-Mathapplication
NeilcochranSquawk/Flightplanapplication
NeilcochranSquawk/Geoapplication
NeilcochranSquawk/Icao-Registryapplication
NeilcochranSquawk/Icao-Registry-Dataapplication
NeilcochranSquawk/Mcpapplication
NeilcochranSquawk/Navaid-Dataapplication
NeilcochranSquawk/Navaidsapplication
NeilcochranSquawk/Notamsapplication
NeilcochranSquawk/Procedure-Dataapplication
NeilcochranSquawk/Proceduresapplication
NeilcochranSquawk/Typesapplication
NeilcochranSquawk/Unitsapplication
NeilcochranSquawk/Weatherapplication
NeilcochranTs-Dnaapplication
NeilcochranWot-Apiapplication
TanstackTanstack/Arktype-Adapterapplication
TanstackTanstack/Eslint-Plugin-Routerapplication
TanstackTanstack/Eslint-Plugin-Startapplication
TanstackTanstack/Historyapplication
TanstackTanstack/Nitro-V2-Vite-Pluginapplication
TanstackTanstack/React-Routerapplication
TanstackTanstack/React-Router-Devtoolsapplication
TanstackTanstack/React-Router-Ssr-Queryapplication
TanstackTanstack/React-Startapplication
TanstackTanstack/React-Start-Clientapplication
TanstackTanstack/React-Start-Rscapplication
TanstackTanstack/React-Start-Serverapplication
TanstackTanstack/Router-Cliapplication
TanstackTanstack/Router-Coreapplication
TanstackTanstack/Router-Devtoolsapplication
TanstackTanstack/Router-Devtools-Coreapplication
TanstackTanstack/Router-Generatorapplication
TanstackTanstack/Router-Pluginapplication
TanstackTanstack/Router-Ssr-Query-Coreapplication
TanstackTanstack/Router-Utilsapplication
TanstackTanstack/Router-Vite-Pluginapplication
TanstackTanstack/Solid-Routerapplication
TanstackTanstack/Solid-Router-Devtoolsapplication
TanstackTanstack/Solid-Router-Ssr-Queryapplication
TanstackTanstack/Solid-Startapplication
TanstackTanstack/Solid-Start-Clientapplication
TanstackTanstack/Solid-Start-Serverapplication
TanstackTanstack/Start-Client-Coreapplication
TanstackTanstack/Start-Fn-Stubsapplication
TanstackTanstack/Start-Plugin-Coreapplication
TanstackTanstack/Start-Server-Coreapplication
TanstackTanstack/Start-Static-Server-Functionsapplication
TanstackTanstack/Start-Storage-Contextapplication
TanstackTanstack/Valibot-Adapterapplication
TanstackTanstack/Virtual-File-Routesapplication
TanstackTanstack/Vue-Routerapplication
TanstackTanstack/Vue-Router-Devtoolsapplication
TanstackTanstack/Vue-Router-Ssr-Queryapplication
TanstackTanstack/Vue-Startapplication
TanstackTanstack/Vue-Start-Clientapplication
TanstackTanstack/Vue-Start-Serverapplication
TanstackTanstack/Zod-Adapterapplication
UipathUipath/Access-Policy-Sdkapplication
UipathUipath/Access-Policy-Toolapplication
UipathUipath/Admin-Toolapplication
UipathUipath/Agent-Sdkapplication
UipathUipath/Agent-Toolapplication
UipathUipath/Agent.Sdkapplication
UipathUipath/Aops-Policy-Toolapplication
UipathUipath/Ap-Chatapplication
UipathUipath/Api-Workflow-Toolapplication
UipathUipath/Apollo-Coreapplication
UipathUipath/Apollo-Reactapplication
UipathUipath/Apollo-Windapplication
UipathUipath/Authapplication
UipathUipath/Case-Toolapplication
UipathUipath/Cliapplication
UipathUipath/Codedagent-Toolapplication
UipathUipath/Codedagents-Toolapplication
UipathUipath/Codedapp-Toolapplication
UipathUipath/Commonapplication
UipathUipath/Context-Grounding-Toolapplication
UipathUipath/Data-Fabric-Toolapplication
UipathUipath/Docsai-Toolapplication
UipathUipath/Filesystemapplication
UipathUipath/Flow-Toolapplication
UipathUipath/Functions-Toolapplication
UipathUipath/Gov-Toolapplication
UipathUipath/Identity-Toolapplication
UipathUipath/Insights-Sdkapplication
UipathUipath/Insights-Toolapplication
UipathUipath/Integrationservice-Sdkapplication
UipathUipath/Integrationservice-Toolapplication
UipathUipath/Llmgw-Toolapplication
UipathUipath/Maestro-Sdkapplication
UipathUipath/Maestro-Toolapplication
UipathUipath/Orchestrator-Toolapplication
UipathUipath/Packager-Tool-Apiworkflowapplication
UipathUipath/Packager-Tool-Bpmnapplication
UipathUipath/Packager-Tool-Caseapplication
UipathUipath/Packager-Tool-Connectorapplication
UipathUipath/Packager-Tool-Flowapplication
UipathUipath/Packager-Tool-Functionsapplication
UipathUipath/Packager-Tool-Webappapplication
UipathUipath/Packager-Tool-Workflowcompilerapplication
UipathUipath/Packager-Tool-Workflowcompiler-Browserapplication
UipathUipath/Platform-Toolapplication
UipathUipath/Project-Packagerapplication
UipathUipath/Resource-Toolapplication
UipathUipath/Resourcecatalog-Toolapplication
UipathUipath/Resources-Toolapplication
UipathUipath/Robotapplication
UipathUipath/Rpa-Legacy-Toolapplication
UipathUipath/Rpa-Toolapplication
UipathUipath/Solution-Packagerapplication
UipathUipath/Solution-Toolapplication
UipathUipath/Solutionpackager-Sdkapplication
UipathUipath/Solutionpackager-Tool-Coreapplication
UipathUipath/Tasks-Toolapplication
UipathUipath/Telemetryapplication
UipathUipath/Test-Manager-Toolapplication
UipathUipath/Tool-Workflowcompilerapplication
UipathUipath/Traces-Toolapplication
UipathUipath/Ui-Widgets-Multi-File-Uploadapplication
UipathUipath/Uipath-Python-Bridgeapplication
UipathUipath/Vertical-Solutions-Toolapplication
UipathUipath/Vssapplication
UipathUipath/Widget.Sdkapplication
FAQ

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.
Activity feed

Recent activity

51 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cryptika blogNews · Sep 19, 2026TanStack Supply Chain Attack Lets Hackers Steal 170 Private CrowdSec GitHub Repositories | Cryptika CybersecurityA TanStack npm supply-chain compromise affecting the Router and Start ecosystem. Attackers abused an unsafe pull_request_target workflow, GitHub Actions cache poisoning, and OIDC-token extraction to publish malicious package releases containing an obfuscated install-time credential-stealing payload.Read more ↗cyber security newsNews · Sep 19, 2026TanStack Supply Chain Attack Lets Hackers Steal 170 Private CrowdSec GitHub RepositoriesA TanStack npm supply-chain compromise in which attackers abused a GitHub Actions workflow/cache-poisoning chain and extracted an OpenID Connect token to publish malicious releases of TanStack packages. The install-time payload harvested developer and cloud credentials, enabling downstream account compromise and private-source-code theft.Read more ↗the hacker newsNews · Sep 19, 2026CrowdSec Says TanStack npm Attack Led to Copy of 170 Private GitHub RepositoriesA TanStack npm-package supply-chain compromise in which 84 malicious releases across 42 packages executed credential-stealing code on developer machines. The stolen credentials included GitHub OAuth tokens, SSH keys, and cloud credentials, enabling unauthorized access to private source-code repositories at CrowdSec and affecting developer devices at other organizations.Read more ↗security affairsNews · Jul 4, 2026FBI: TeamPCP Compromised Dev Tools to Steal Cloud CredentialsA CVE explicitly associated with the TeamPCP software supply chain campaign, but the content provides no technical details about the flaw itself.Read more ↗
+18 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence14Every report linking this CVE to a named adversary.
Associated malware26Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity25Community discussion across Reddit, Mastodon, and other social sources.