Skip to main content
CVE-2025-68155VulnerabilityPublished

CVE-2025-68155: vitejs vite-plugin-react · Path Traversal

Affects vitejs vite-plugin-reactSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 0.5.8 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade vitejs vite-plugin-react to 0.5.8.

Affected software

ProductAffectedFixed in
vitejs vite-plugin-reactAffected
  • <0.5.8
Fixed in
  • 0.5.8

AI-suggested

1. Upgrade vite-plugin-react to version 0.5.8 or later immediately to apply the patch that fixes the vulnerability. 2. Restrict network access to development servers running Vite and vite-plugin-react, ensuring they are not publicly accessible or exposed to untrusted networks. 3. Implement strict firewall rules and VPN requirements for accessing development environments. 4. Conduct audits of development infrastructure to identify any instances of vulnerable versions and remediate promptly. 5. Use environment segmentation to isolate development environments from production and sensitive data stores. 6. Monitor HTTP endpoints for suspicious requests targeting /__vite_rsc_findSourceMapURL or unusual file:// URL patterns. 7. Educate development teams about secure configuration practices and the risks of exposing development tools publicly. 8. Consider implementing runtime application self-protection (RASP) or web application firewalls (WAF) that can detect and block path traversal attempts. 9. Review and minimize file system permissions granted to Node.js processes to limit accessible files in case of exploitation.

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.

References

Community reviews

Loading reviews…