# CVE-2025-68155: @vitejs/plugin-rsc has Arbitrary File Read via \`/\_\_vite\_rsc\_findSourceMapURL\` Endpoint on Development

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.5.8 (CNA); fix release not confirmed
- Status: published
- Published: 2025-12-16 · Modified: 2025-12-16
- Aliases: GHSA-g239-q96q-x4qm
- Record: https://cvemate.com/vulnerability/CVE-2025-68155 · JSON: https://cvemate.com/vulnerability/CVE-2025-68155/json

## Description

```text
@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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.539%, percentile 46.85%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- @vitejs plugin-rsc (Npm): \< 0.5.8
- vitejs vite-plugin-react: \< 0.5.8

## References

- <https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm>
- <https://github.com/facebook/react/pull/29708>
- <https://github.com/facebook/react/pull/30741>
- <https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68155>
- <https://github.com/vitejs/vite-plugin-react>

---

Data as of 2026-12-05T08:13:09.914Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
