Read the docs
TI-2025-41735 Aliases CVE-2025-68155GHSA-g239-q96q-x4qm

@vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development

Priority HIGH 72CWE-22Published · Updated

Key facts

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

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

Summary

@vitejs/plugin-rs provides React Server Components (RSC) support for Vite. Prior to version 0.5.8, the `/__vite_rsc_findSourceMapURL` endpoint in `@vitejs/plugin-rsc` allows unauthenticated arbitrary file read during development mode. An attacker can read any file accessible to the Node.js process by sending a crafted HTTP request with a `file://` URL in the `filename` query parameter. Version 0.5.8 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00502 43rd percentileScored 2026-11-07
Fix Fixed vite-plugin-react (vitejs): 0.5.8@vitejs/plugin-rsc (npm): 0.5.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

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.80.5.8Patch availableCNA
—@vitejs/plugin-rsc (npm)before 0.5.80.5.8Patch availableGHSA-g239-q96q-x4qm
  • vite-plugin-react Vendorvitejs Affected before 0.5.8 Fixed in 0.5.8 Patch available CNA
  • @vitejs/plugin-rsc (npm) Vendor— Affected before 0.5.8 Fixed in 0.5.8 Patch available GHSA-g239-q96q-x4qm

Remediation

  • Fix · CNA vite-plugin-react (vitejs) Fixed in 0.5.8
  • Fix · GHSA-g239-q96q-x4qm @vitejs/plugin-rsc (npm) Fixed in 0.5.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-68155
  2. 2026-10-03 Alias added: GHSA-g239-q96q-x4qm

References

  • TI-2025-22386 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query KEVCVSS 3.1HIGH 7.5
  • TI-2025-41248 Code injection in vitejs vite-plugin-react CVSS 3.1CRITICAL 9.8
  • TI-2026-28350 Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket CVSS 4.0HIGH 8.2
  • 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