# CVE-2025-68155: @vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-12-16T18:20:51.428Z
- Modified: 2026-06-17T09:58:38.970Z
- Also known as: GHSA-g239-q96q-x4qm
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- vitejs vite-plugin-react: < 0.5.8
- @vitejs/plugin-rsc (npm): before 0.5.8

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

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

## Sources

- CVE List: [CVE-2025-68155](https://www.cve.org/CVERecord?id=CVE-2025-68155), CVE Terms of Use, modified 2025-12-16
- GitHub Advisory Database: [GHSA-g239-q96q-x4qm](https://github.com/advisories/GHSA-g239-q96q-x4qm), CC-BY-4.0, modified 2025-12-16
- NVD: [CVE-2025-68155](https://nvd.nist.gov/vuln/detail/CVE-2025-68155), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-68155 · Whole record: https://cve.day/CVE-2025-68155.json · Rebuilt by cve.day 2026-11-25T22:59:09.554Z
