The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-67489

CVE-2025-67489: Vitejs Plugin-RS RCE Vulnerability

CVE-2025-67489 is a remote code execution flaw in @vitejs/plugin-rs affecting development servers through unsafe dynamic imports. Attackers can read files, steal credentials, or pivot to internal services. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 17, 2026

CVE-2025-67489 Overview

CVE-2025-67489 is a critical remote code execution vulnerability affecting @vitejs/plugin-rs, a plugin that provides React Server Components (RSC) support for Vite. Versions 0.5.5 and below contain unsafe dynamic imports in server function APIs (loadServerAction, decodeReply, decodeAction) that can be exploited when integrated into RSC applications exposing server function endpoints.

Attackers with network access to development servers running vulnerable versions can achieve arbitrary remote code execution, enabling them to read and modify files, exfiltrate sensitive data including source code, environment variables, and credentials, or pivot to other internal services. The risk is significantly amplified when developers use the vite --host flag to expose the development server on all network interfaces.

Critical Impact

Attackers can achieve full remote code execution on development servers, enabling data exfiltration, file manipulation, and lateral movement to internal services.

Affected Products

  • @vitejs/plugin-rs versions 0.5.5 and below
  • Vite applications using RSC with exposed server function endpoints
  • Development environments using vite --host flag

Discovery Timeline

  • 2025-12-09 - CVE-2025-67489 published to NVD
  • 2025-12-12 - Last updated in NVD database

Technical Details for CVE-2025-67489

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code - Code Injection). The flaw exists in the server function APIs of @vitejs/plugin-rs, specifically in the loadServerAction, decodeReply, and decodeAction functions. These functions perform unsafe dynamic imports without proper input validation or sanitization, allowing attackers to inject and execute arbitrary code.

The vulnerability is exploitable remotely with no authentication required and no user interaction necessary. When exploited, an attacker gains complete control over the development server, with the ability to compromise confidentiality, integrity, and availability of the system.

Root Cause

The root cause is improper handling of dynamic imports within the server function APIs. The loadServerAction, decodeReply, and decodeAction functions accept user-controlled input that is used directly in dynamic import operations without adequate validation. This allows malicious actors to supply crafted payloads that result in arbitrary code execution on the server.

Attack Vector

The attack is conducted over the network against development servers running vulnerable versions of @vitejs/plugin-rs. An attacker who can reach the development server—either on a local network or when the server is exposed via vite --host—can send specially crafted requests to server function endpoints.

The malicious payload targets the unsafe dynamic import handling in the RSC server function APIs. Upon successful exploitation, the attacker can execute arbitrary JavaScript code in the context of the Node.js development server process, granting full system access with the privileges of the server process.

The vulnerability specifically manifests in how server function identifiers are processed through the loadServerAction, decodeReply, and decodeAction functions. Without proper sanitization, these functions allow import paths to be manipulated, enabling code injection. For detailed technical information about the vulnerability mechanism, see the GitHub Security Advisory.

Detection Methods for CVE-2025-67489

Indicators of Compromise

  • Unexpected outbound network connections from development server processes
  • Unusual file system access patterns or modifications to source code files
  • Environment variable or credential access attempts in server logs
  • Abnormal server function endpoint requests with malformed or encoded payloads
  • Process spawning from Node.js development server process

Detection Strategies

  • Monitor network traffic to development servers for anomalous requests targeting server function endpoints
  • Implement application logging to capture all requests to RSC server function APIs
  • Review dependency versions in package.json and package-lock.json for vulnerable @vitejs/plugin-rs versions
  • Use software composition analysis (SCA) tools to identify vulnerable dependencies in CI/CD pipelines

Monitoring Recommendations

  • Enable verbose logging on Vite development servers during the vulnerability window
  • Monitor for process execution and file system changes originating from Node.js processes
  • Set up alerts for network connections to unexpected internal services from development environments
  • Track dependency updates and enforce version pinning for security-critical packages

How to Mitigate CVE-2025-67489

Immediate Actions Required

  • Upgrade @vitejs/plugin-rs to version 0.5.6 or later immediately
  • Avoid using the vite --host flag until the upgrade is complete
  • Restrict network access to development servers to trusted hosts only
  • Audit development environments for signs of compromise if previously exposed

Patch Information

The vulnerability has been fixed in @vitejs/plugin-rs version 0.5.6. The fix addresses the unsafe dynamic import handling in the server function APIs. The patch can be reviewed in the GitHub commit fe634b58.

To update the package, run the appropriate package manager command in your project directory.

Workarounds

  • Do not expose development servers to untrusted networks
  • Remove the --host flag from Vite development scripts
  • Use firewall rules to restrict access to development server ports
  • Consider using a VPN for remote development instead of exposing servers directly
bash
# Update @vitejs/plugin-rs to the patched version
npm update @vitejs/plugin-rs@0.5.6

# Or using yarn
yarn upgrade @vitejs/plugin-rs@0.5.6

# Or using pnpm
pnpm update @vitejs/plugin-rs@0.5.6

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechVitejs

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-31125: Vitejs Vite Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English