Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-45321 is a critical-severity Embedded Malicious Code (CWE-506) vulnerability in Tanstack\/Arktype-Adapter. Its CVSS base score is 9.6 (Critical).
Operationally, ranked in the top 36% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-44 (Detonation Chambers) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-45321 is a supply-chain compromise in which 84 malicious versions of 42 @tanstack/* packages were published to the npm registry on 2026-05-11. The packages were signed with a legitimate GitHub Actions OIDC token belonging to the TanStack/router repository, allowing the malicious code (CWE-506) to appear under a trusted publisher identity. The affected component is the TanStack npm publication workflow and its downstream consumers.
An attacker with the ability to open pull requests against the TanStack/router repository could exploit a pull_request_target misconfiguration combined with GitHub Actions cache poisoning across the fork-to-base boundary. By extracting the OIDC token from runner memory, the attacker obtained the rights to publish credential-stealing malware in two versions of each targeted package within a six-minute window, achieving arbitrary code execution on any system that installed the tainted releases.
The GitHub security advisory, TanStack postmortem, and CISA Known Exploited Vulnerabilities catalog document the incident and list the compromised package versions. The current and peak EPSS score of 0.1705 indicates sustained but not sharply increasing exploitation interest after disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-29352
Vulnerability Data
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…
more
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.
- CWE(s)
- KEV Date Added
- 27 May 2026
Related Threats
Threat-Actor AttributionAI
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover embedded malicious code before release.
Detonation chambers can reveal embedded malicious code through controlled execution analysis.
Integrity verification tools directly detect unauthorized or malicious code insertions.
Tamper-resistance and detection mechanisms identify malicious code introduced via the supply chain.
Component authenticity requirements reduce the chance malicious code is embedded by developers or suppliers.
Component authenticity controls stop introduction of malicious or counterfeit code into the product.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Checks that executed code has not been tampered with and monitoring for malware-associated activity reduce the likelihood that hidden malicious code remains active.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-506, a class-level weakness. Rules are authored against its narrower children: CWE-507.