CVE-2025-67489CWE-94code-injection

CVE-2025-67489

Critical · published December 10, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
56.6
In the wild
Unconfirmed
What it is

🔥 Oops! Versions 0.5.5 and below of @vitejs/plugin-rs have a sneaky remote code execution vulnerability lurking on your development server! Think of it like a password-protected conference room that has an open window — anyone with network access can sneak in and change the presentation or even steal sensitive documents. This vulnerability allows attackers to exploit unsafe dynamic imports in server function APIs, ultimately compromising your entire development environment. If attackers gain access, they can read and modify files, exfiltrate sensitive data including source code and credentials, or pivot to other internal services. This could lead to disastrous consequences, making your project vulnerable to further attacks or data leaks!

Put simply

Think of it like a password-protected conference room that has an open window — anyone with network access can sneak in and change the presentation or even steal sensitive documents. This vulnerability allows attackers to exploit unsafe dynamic imports in server function APIs, ultimately compromising your entire development environment. This vulnerability arises from arbitrary remote code execution due to unsafe dynamic imports in functions like loadServerAction and decodeAction in server APIs. When integrated into React Server Components applications, it creates a dangerous vector for attackers with network access.

What to do

If attackers gain access, they can read and modify files, exfiltrate sensitive data including source code and credentials, or pivot to other internal services. This could lead to disastrous consequences, making your project vulnerable to further attacks or data leaks! Update @vitejs/plugin-rs to version 0.5.6 immediately to patch this vulnerability. If you're exposing your development server with 'vite --host', consider restricting access to trusted networks only. Always audit your server endpoints for security best practices! You've got this! By following these steps, you’ll lock down your development environment in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00814 · 56.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-12-10T02:16Z
References (2)
EPSS history
Timeline
  • 09 DEC 20:54Z
    @vitejs/plugin-rsc Remote Code Execution through unsafe dynamic imports in RSC server function APIs on development server
    cvelistv5