@vitejs/plugin-rsc Remote Code Execution through unsafe dynamic imports in RSC server function APIs on development
Affects @vitejs/plugin-rscSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 0.5.6 as a priority.
Data as of 27 Nov 2026, 05:09 UTC
- Patch
- Available – fixed in 0.5.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade @vitejs/plugin-rsc to 0.5.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@vitejs/plugin-rsc | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in @vitejs/plugin-rsc version 0.5.6 that fixes this vulnerability. Users should upgrade to version 0.5.6 or later to remediate the issue. Until patched, avoid exposing the development server on all network interfaces (e.g., avoid using vite --host) to reduce risk. No other mitigations are specified by the vendor.
Description
A critical remote code execution vulnerability exists in @vitejs/plugin-rsc versions prior to 0.5.6. It affects development servers using React Server Components (RSC) with unsafe dynamic imports in server function APIs. Attackers with network access to the development server can execute arbitrary JavaScript code with Node.js privileges, potentially exposing sensitive data or enabling further internal attacks. The vulnerability arises from dynamic import usage in APIs like loadServerAction, decodeReply, and decodeAction, which accept untrusted input. This risk is heightened when the development server is exposed on all network interfaces using vite --host.
References
- github.com/vitejs/vite-plugin-react/security/advisories/GHSA-j76j-5p5g-9wfr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-67489 (opens in a new tab)
- github.com/vitejs/vite-plugin-react/commit/fe634b58210d0a4a146a7faae56cd71af3bb9af4 (opens in a new tab)
- github.com/vitejs/vite-plugin-react (opens in a new tab)