PT-2025-50276 · Vitejs · @Vitejs/Plugin-Rs

Published

2025-12-09

·

Updated

2025-12-10

·

CVE-2025-67489

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions @vitejs/plugin-rs versions 0.5.5 and below
Description The @vitejs/plugin-rs software, which provides React Server Components (RSC) support for Vite, contains a flaw that could allow for arbitrary remote code execution on the development server. This is due to unsafe dynamic imports within server function APIs – specifically loadServerAction, decodeReply, and decodeAction – when used with RSC applications that expose server function endpoints. An attacker with network access to the development server could potentially read or modify files, steal sensitive data like source code, environment variables, and credentials, or move to other internal services. The risk is heightened when the development server is exposed on all network interfaces using the vite --host command.
Recommendations Update @vitejs/plugin-rs to version 0.5.6 or later.

Exploit

Fix

RCE

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2025-67489
GHSA-J76J-5P5G-9WFR

Affected Products

@Vitejs/Plugin-Rs