RCE in Vitejs Vite-Plugin-React

CVE-2025-67489

@vitejs/plugin-rs provides React Server Components (RSC) support for Vite. Versions 0.5.5 and below are vulnerable to arbitrary remote code execution on the development server through unsafe dynamic imports in server function APIs (loadServerAction, decodeReply, decodeAction) when integrated into RSC applications that expose server function endpoints. Attackers with network access to the development server can read/modify files, exfiltrate sensitive data (source code, environment variables, credentials), or pivot to other internal services. While this affects development servers only, the risk increases when using vite --host to expose the server on all network interfaces. This issue is fixed in version 0.5.6.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.007 (50.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-67489?
CVE-2025-67489 is a critical-severity vulnerability in Vitejs Vite-Plugin-React, classified under Code Injection. CVSS score: 9.8/10. Published 2025-12-09.
How severe is CVE-2025-67489?
Critical severity. CVSS v3 base score is 9.8 out of 10.