Actively exploited vulnerability / CVE-2026-45321
TanStack: fake package versions could steal passwords and access keys
An attacker managed to publish 84 malicious versions of packages used by developers under the legitimate TanStack project identity. These versions contain code that steals credentials such as passwords and access keys from the computers and servers where they are installed, which can lead to other company systems being compromised. This vulnerability is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2026-45321 · EUVD-2026-29352
- Severity
- Critical (9.6/10)
- On the CISA list (US)
- yes, since 27 May 2026
- Deadline given to US federal agencies
- 10 June 2026
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 1.1% (FIRST's estimate for the next 30 days)
Does it concern you?
TanStack is a set of JavaScript programming libraries, distributed through npm, used to build web applications and websites. It concerns you if your company develops software in house or works with a team or supplier that builds web applications for you.
Ask your development team or supplier whether your projects use @tanstack packages and whether versions published on 11 May 2026, around 19:20 to 19:26 UTC, were installed or updated. Each affected package received exactly two malicious versions, and developers can check the exact versions in the project's dependency files.
Affected products and versions
- TanStack
What to do
Follow TanStack's instructions: remove the malicious versions and return to safe versions of the packages. If they were installed, change the passwords, keys and other access credentials present on the affected computers and servers.
The official description
The text below is the description from the public database.
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.
Sources
- GitHub Advisory Database
- CVE Program
- Vendor advisory: github.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.