# CVE-2025-67489: @vitejs/plugin-rsc Remote Code Execution through unsafe dynamic imports in RSC server function APIs on development server

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2025-12-08T22:16:31.000Z
- Modified: 2026-10-14T21:10:00.183Z
- Also known as: GHSA-j76j-5p5g-9wfr
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

@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.

(As written by CVE List.)

## Affected

- vitejs vite-plugin-react: < 0.5.6
- @vitejs/plugin-rsc (npm): before 0.5.6

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-j76j-5p5g-9wfr> (web)
- <https://github.com/vitejs/vite-plugin-react/commit/fe634b58210d0a4a146a7faae56cd71af3bb9af4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67489> (advisory)
- <https://github.com/vitejs/vite-plugin-react> (package)

## Sources

- CVE List: [CVE-2025-67489](https://www.cve.org/CVERecord?id=CVE-2025-67489), CVE Terms of Use, modified 2025-12-10
- GitHub Advisory Database: [GHSA-j76j-5p5g-9wfr](https://github.com/advisories/GHSA-j76j-5p5g-9wfr), CC-BY-4.0, modified 2025-12-09
- NVD: [CVE-2025-67489](https://nvd.nist.gov/vuln/detail/CVE-2025-67489), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-67489 · Whole record: https://cve.day/CVE-2025-67489.json · Rebuilt by cve.day 2026-11-25T22:59:09.118Z
