CVE-2026-45321

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

Published 12 May 2026 Updated 4 Aug 2026 CNA: GitHub_M

Check your servers for CVE-2026-45321

The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45321 affects arktype-adapter, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 27 May 2026. US federal agencies had to act by 10 Jun 2026.

Name
TanStack Unspecified Vulnerability
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware
Known to be used in ransomware campaigns
Notes
https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx https://nvd.nist.gov/vuln/detail/CVE-2026-45321

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.

Severity (CVSS)

9.6 critical CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.05%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 63.8% of all scored CVEs. Scores of 27 Nov 2026.

The assessment of CISA (SSVC, 27 May 2026):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
arktype-adapter
affected 1.166.12
affected 1.166.15
eslint-plugin-router
affected 1.161.9
affected 1.161.12
eslint-plugin-start
affected 0.0.4
affected 0.0.7
history
affected 1.161.9
affected 1.161.12
nitro-v2-vite-plugin
affected 1.154.12
affected 1.154.15
react-router
affected 1.169.5
affected 1.169.8
react-router-devtools
affected 1.166.16
affected 1.166.19
react-router-ssr-query
affected 1.166.15
affected 1.166.18
react-start
affected 1.167.68
affected 1.167.71
react-start-client
affected 1.166.51
affected 1.166.54
react-start-rsc
affected 0.0.47
affected 0.0.50
react-start-server
affected 1.166.55
affected 1.166.58
router-cli
affected 1.166.46
affected 1.166.49
router-core
affected 1.169.5
affected 1.169.8
router-devtools
affected 1.166.16
affected 1.166.19
router-devtools-core
affected 1.167.6
affected 1.167.9
router-generator
affected 1.166.45
affected 1.166.48
router-plugin
affected 1.167.38
affected 1.167.41
router-ssr-query-core
affected 1.168.3
affected 1.168.6
router-utils
affected 1.161.11
affected 1.161.14
outer-vite-plugin
affected 1.166.53
affected 1.166.56
solid-router
affected 1.169.5
affected 1.169.8
solid-router-devtools
affected 1.166.16
affected 1.166.19
solid-router-ssr-query
affected 1.166.15
affected 1.166.18
solid-start
affected 1.167.65
affected 1.167.68
solid-start-client
affected 1.166.50
affected 1.166.53
solid-start-server
affected 1.166.54
affected 1.166.57
start-client-core
affected 1.168.5
affected 1.168.8
start-fn-stubs
affected 1.161.9
affected 1.161.12
start-plugin-core
affected 1.169.23
affected 1.169.26
start-server-core
affected 1.167.33
affected 1.167.36
start-static-server-functions
affected 1.166.44
affected 1.166.47
start-storage-context
affected 1.166.38
affected 1.166.41
valibot-adapter
affected 1.166.12
affected 1.166.15
virtual-file-routes
affected 1.161.10
affected 1.161.13
vue-router
affected 1.169.5
affected 1.169.8
vue-router-devtools
affected 1.166.16
affected 1.166.19
vue-router-ssr-query
affected 1.166.15
affected 1.166.18
vue-start
affected 1.167.61
affected 1.167.64
vue-start-client
affected 1.166.46
affected 1.166.49
vue-start-server
affected 1.166.50
affected 1.166.53
zod-adapter
affected 1.166.12
affected 1.166.15

Is my server affected?

Find the installed version of arktype-adapter and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i arktype-adapter
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-45321 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-45321

RHEL, Rocky, Alma, Fedora

rpm -q arktype-adapter
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-45321

Alpine

apk list --installed | grep -i arktype-adapter

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-45321
trivy image --scanners vuln IMAGE | grep CVE-2026-45321

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.

References

Advisories

Other references

Source: the record CVE-2026-45321 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.