Read the docs
TI-2025-41248 Aliases CVE-2025-67489GHSA-j76j-5p5g-9wfr

Code injection in vitejs vite-plugin-react

Priority HIGH 82CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

@vitejs/plugin-rs provides React Server Components (RSC) support for Vite. Versions 0.5.5 and below are vulnerable to arbitrary remote code execution on the development server through unsafe dynamic imports in server function APIs (loadServerAction, decodeReply, decodeAction) when integrated into RSC applications that expose server function endpoints. Attackers with network access to the development server can read/modify files, exfiltrate sensitive data (source code, environment variables, credentials), or pivot to other internal services. While this affects development servers only, the risk increases when using vite --host to expose the server on all network interfaces. This issue is fixed in version 0.5.6.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00807 57th percentileScored 2026-11-07
Fix Fixed vite-plugin-react (vitejs): 0.5.6@vitejs/plugin-rsc (npm): 0.5.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vitejsvite-plugin-reactbefore 0.5.60.5.6Patch availableCNA
—@vitejs/plugin-rsc (npm)before 0.5.60.5.6Patch availableGHSA-j76j-5p5g-9wfr
  • vite-plugin-react Vendorvitejs Affected before 0.5.6 Fixed in 0.5.6 Patch available CNA
  • @vitejs/plugin-rsc (npm) Vendor— Affected before 0.5.6 Fixed in 0.5.6 Patch available GHSA-j76j-5p5g-9wfr

Remediation

  • Fix · CNA vite-plugin-react (vitejs) Fixed in 0.5.6
  • Fix · GHSA-j76j-5p5g-9wfr @vitejs/plugin-rsc (npm) Fixed in 0.5.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-67489
  2. 2026-10-03 Alias added: GHSA-j76j-5p5g-9wfr

References

  • TI-2025-22386 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query KEVCVSS 3.1HIGH 7.5
  • TI-2026-28350 Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket CVSS 4.0HIGH 8.2
  • TI-2025-41735 @vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development CVSS 3.1HIGH 7.5
  • TI-2025-21544 Vite bypasses server.fs.deny when using `?raw??` CVSS 3.1HIGH 7.5
  • TI-2023-16938 Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) CVSS 3.1HIGH 7.5
  • TI-2026-38634 Vite: `server.fs.deny` bypass on Windows alternate paths CVSS 4.0HIGH 8.2
See all 31 →

Sources