CVE-2026-45321criticalunder attackransomwareCWE-506

CVE-2026-45321: critical vulnerability in @tanstack arktype-adapter

Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

78Vexday Risk Score

Prioritize patching. It under exploitation confirmed by CISA and has a public proof of concept.

ssvc Actcvss 9.6epss 3.3%
from disclosure to weaponsame day
Published on NVDMay 12
1st PoCMay 12
CISA KEV+15d
Action required by CISAfederal deadline: 2026-06-10

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

In short

Malicious versions of 42 popular TanStack npm packages were secretly published and contained malware that steals cloud credentials, GitHub tokens, and SSH keys from developers' computers. This is critical because developers using these packages unknowingly installed code that compromised their security credentials.

Technical detail

An attacker exploited a pull_request_target GitHub Actions misconfiguration combined with cache poisoning across fork boundaries to extract the OIDC token from the runner process, then used this legitimate credential to publish malicious package versions to npm. The malware exfiltrates sensitive credentials (cloud keys, GitHub tokens, SSH keys) from the host environment, affecting any developer who installed the compromised versions during the publication window.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.