CVE-2025-68155 Details
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.
A vulnerability in the @vitejs/plugin-rsc package, prior to version 0.5.8, allows for unauthenticated arbitrary file reading during development. This issue arises in the '/__vite_rsc_findSourceMapURL' endpoint, where a crafted HTTP request can be used to access any file available to the Node.js process. The vulnerability is triggered by including a 'file://' URL in the 'filename' query parameter. This flaw affects all developers using the plugin in Vite's development environment.
Users can update to @vitejs/plugin-rsc version 0.5.8 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 16, 2025CISA-ADP
Assessed Dec 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/facebook/react/pull/29708 | [email protected] | Issue TrackingVendor |
| https://github.com/facebook/react/pull/30741 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d | [email protected] | Source CodeVendor |
| https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @vitejs/plugin-rsc | All versions |
CPE
Remediation
| |
| facebook react | All versions |
CPE
Remediation
| |
| vercel next.js | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 16, 2025 | New CVE Received | [email protected] |
Volerion