SecurityContext

CVE-2026-45321: TanStack @tanstack/* - Authentication Bypass & Remote Code Execution

  • Cve: CVE-2026-45321
  • Name: TanStack @tanstack/* - Authentication Bypass & Remote Code Execution
  • 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.
  • Impact: Attackers can publish malicious package versions under trusted identity, leading to widespread credential theft and supply chain compromise.
  • Remediation: Review and fix GitHub Actions workflows to remove pull_request_target misconfigurations and cache poisoning; rotate credentials and update to clean package versions.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: remote_code_execution, information_disclosure
  • Requirements: Requires GitHub Actions pull_request_target misconfiguration and cache poisoning
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.03278
  • Epss percentile: 0.88744
  • Assignee: [email protected]
  • Published at: 2026-05-12T01:16:46Z
  • Age in days: 196
  • Modified at: 2026-10-26T18:10:00Z
  • Public exploits total: 14
  • References total: 10
  • Products total: 171
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45321
  • Nvd status: analyzed
  • Checked, none or zero: patch available, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-506Embedded Malicious Code

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2026-05-272026-06-10yes
vulncheck2026-05-27—no

Public exploits

UrlSourceAdded date
https://tanstack.com/blog/npm-supply-chain-compromise-postmortemnvd2026-05-12
https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystemnvd2026-05-12
https://github.com/7starL/CVE-2026-45321-Tanstackpoc-in-github2026-06-25
https://github.com/renewablehacking/CVE-2026-45321-Tanstackpoc-in-github2026-05-25
https://github.com/prashanthnataraj/mini-shai-hulud-detectorpoc-in-github2026-05-20

References

UrlSourceTags
https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpxnvdMitigation, Vendor Advisory
https://tanstack.com/blog/npm-supply-chain-compromise-postmortemnvdExploit, Vendor Advisory
https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystemnvdExploit, Third Party Advisory
https://github.com/TanStack/router/issues/7383nvdIssue Tracking
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321nvdUS Government Resource
https://go.onapsis.com/one-pager/days-to-zero-sap-threat-report-2026vulncheckVulncheck Reported Exploitation
https://www.ic3.gov/CSA/2026/260702.pdfvulncheckVulncheck Reported Exploitation
https://euvd.enisa.europa.eu/enisa/EUVD-2026-29352vulncheckVulncheck Reported Exploitation
https://nefariousplan.com/posts/tanstack-cve-2026-45321-bundle-size-poisoned-release-restoredvulncheckVulncheck Reported Exploitation
https://vulnerability.circl.lu/known-exploited-vulnerabilities-catalog/5eca6dd4-073c-4bd1-b174-250eb902c1bfvulncheckVulncheck Reported Exploitation

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
guardrailsai:guardrails_ai= 0.10.1/v1/products/guardrailsai/guardrails_ai
abhishake1:supersurkhet/cli= 0.0.7, = 0.0.6, = 0.0.5, = 0.0.4, = 0.0.3, = 0.0.2/v1/products/abhishake1/supersurkhet/cli
abhishake1:supersurkhet/sdk= 0.0.7, = 0.0.6, = 0.0.5, = 0.0.4, = 0.0.3, = 0.0.2/v1/products/abhishake1/supersurkhet/sdk
abhishake1:taskflow-corp/cli= 0.1.29, = 0.1.28, = 0.1.27, = 0.1.26, = 0.1.25, = 0.1.24/v1/products/abhishake1/taskflow-corp/cli
agentworkhq:agentwork-cli= 0.1.5, = 0.1.4/v1/products/agentworkhq/agentwork-cli
antoinebcx:ml-toolkit-ts= 1.0.5, = 1.0.4/v1/products/antoinebcx/ml-toolkit-ts
antoinebcx:ml-toolkit-ts/preprocessing= 1.0.3, = 1.0.2/v1/products/antoinebcx/ml-toolkit-ts/preprocessing
antoinebcx:ml-toolkit-ts/xgboost= 1.0.4, = 1.0.3/v1/products/antoinebcx/ml-toolkit-ts/xgboost
beproduct:beproduct/nestjs-auth= 0.1.19, = 0.1.17, = 0.1.16, = 0.1.15, = 0.1.14, = 0.1.13, = 0.1.12, = 0.1.11, = 0.1.10, = 0.1.9, = 0.1.8, = 0.1.7, = 0.1.6, = 0.1.5, = 0.1.4, = 0.1.3, = 0.1.2/v1/products/beproduct/beproduct/nestjs-auth
christianalares:git-git-git= 1.0.12, = 1.0.10, = 1.0.9, = 1.0.8/v1/products/christianalares/git-git-git

Projects

RepositoryLink kindsIndexedUrl
TanStack/routerissues, package, security_advisoryyes/v1/repositories/TanStack/router

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited: yes
  • Known exploited since: 2026-05-27
  • Known exploited by: cisa, vulncheck
  • Vulncheck known exploited since: 2026-05-27
  • Public exploit: yes
  • Public exploit count: 14
  • Public exploit first date: 2026-05-12
  • Remote: yes
  • Checked, none or zero: exploitation seen, initial access, authentication required
  • Not known: nuclei template, initial access since, hackerone reports, exposed hosts