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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-68154

CVE-2025-68154: Systeminformation fsSize() RCE Vulnerability

CVE-2025-68154 is a command injection RCE flaw in Systeminformation's fsSize() function on Windows that enables arbitrary code execution through unsanitized input. This article covers technical details, affected versions, and patches.

Published: April 15, 2026

CVE-2025-68154 Overview

CVE-2025-68154 is a command injection vulnerability affecting the systeminformation library for Node.js. The fsSize() function in versions prior to 5.27.14 is vulnerable to OS command injection on Windows systems. The optional drive parameter is directly concatenated into a PowerShell command without proper sanitization, allowing arbitrary command execution when user-controlled input reaches this function.

Critical Impact

Attackers who can control input to the fsSize() function can execute arbitrary commands on Windows systems, potentially leading to complete system compromise, data exfiltration, or malware deployment.

Affected Products

  • systeminformation versions prior to 5.27.14
  • Microsoft Windows (as the target operating system)
  • Node.js applications using the vulnerable fsSize() function with user-controlled input

Discovery Timeline

  • 2025-12-16 - CVE-2025-68154 published to NVD
  • 2025-12-16 - systeminformation releases security patch version 5.27.14
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2025-68154

Vulnerability Analysis

The vulnerability resides in the fsSize() function of the systeminformation Node.js library. This function is designed to retrieve file system size information, and on Windows systems, it accomplishes this by executing PowerShell commands. The issue arises from the direct concatenation of the optional drive parameter into the PowerShell command string without proper input sanitization.

When an application passes user-controlled input to the drive parameter, an attacker can inject arbitrary PowerShell commands that will execute with the privileges of the Node.js process. The actual exploitability depends on how applications use this function—if an application does not pass user-controlled input to fsSize(), it is not vulnerable.

Root Cause

The root cause is improper input validation (CWE-78: Improper Neutralization of Special Elements used in an OS Command). The drive parameter was not sanitized before being concatenated into a PowerShell command, allowing shell metacharacters and additional commands to be injected. This is a classic example of trusting user input in command construction without proper escaping or validation.

Attack Vector

The attack vector is network-based, requiring an attacker to influence the input passed to the fsSize() function. This typically occurs in web applications or APIs that accept drive path information from users and pass it to the systeminformation library. An attacker would craft a malicious drive parameter containing PowerShell command injection payloads.

The following code examples show the security patch applied in version 5.27.14:

text
                     </tr>
                   </thead>
                   <tbody>
+                    <tr>
+                      <th scope="row">5.27.14</th>
+                      <td>2025-12-16</td>
+                      <td><span class="code">fsSize()</span> fix sanitation drive (windows)</td>
+                    </tr>
                     <tr>
                       <th scope="row">5.27.13</th>
                       <td>2025-12-10</td>

Source: GitHub Commit Update

The vendor also updated their security advisory to recommend updating to version 5.27.14:

text
 <body>
   <header class="bg-image-full">
     <div class="top-container">
-      <a href="security.html" class="recommendation">Security advisory:<br>Update to v5.23.7</a>
+      <a href="security.html" class="recommendation">Security advisory:<br>Update to v5.27.14</a>
       <img class="logo" src="assets/logo.png" alt="logo">
       <div class="title">systeminformation</div>
       <div class="subtitle"><span id="typed"></span> </div>
-      <div class="version">New Version: <span id="version">5.27.13</span></div>
+      <div class="version">New Version: <span id="version">5.27.14</span></div>
       <button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
     </div>
     <div class="down">

Source: GitHub Commit Update

Detection Methods for CVE-2025-68154

Indicators of Compromise

  • Unexpected PowerShell process spawning from Node.js applications
  • Unusual command execution patterns in Windows event logs associated with Node.js processes
  • Anomalous network connections or file system access initiated by systeminformation-dependent applications
  • Suspicious input patterns in application logs containing shell metacharacters (;, |, &, `) in drive path parameters

Detection Strategies

  • Monitor PowerShell execution logs for commands spawned by Node.js processes with unusual parameters or chained commands
  • Implement application-level logging to track all inputs passed to the fsSize() function
  • Use endpoint detection and response (EDR) solutions to detect command injection patterns and unexpected child process creation from Node.js applications
  • Scan application dependencies using software composition analysis (SCA) tools to identify vulnerable systeminformation versions

Monitoring Recommendations

  • Enable Windows Script Block Logging and Module Logging for PowerShell to capture executed commands
  • Configure SentinelOne to alert on suspicious command injection patterns originating from Node.js processes
  • Implement real-time monitoring of process creation events for PowerShell spawned by Node.js applications on Windows systems
  • Review application logs regularly for malformed or suspicious drive path inputs

How to Mitigate CVE-2025-68154

Immediate Actions Required

  • Update systeminformation to version 5.27.14 or later immediately
  • Audit your application code to identify any usage of fsSize() with user-controlled input
  • Implement input validation for drive parameters before passing them to fsSize() as an additional defense layer
  • Consider restricting the allowed characters in drive path inputs to alphanumeric characters and standard path delimiters only

Patch Information

The vulnerability has been addressed in systeminformation version 5.27.14, released on 2025-12-16. The patch implements proper sanitation of the drive parameter on Windows systems before it is used in PowerShell command construction.

For detailed patch information, see the GitHub Security Advisory (GHSA-wphj-fx3q-84ch) and the security patch commit.

Workarounds

  • If immediate upgrade is not possible, avoid passing user-controlled input to the fsSize() function
  • Implement strict input validation that rejects any input containing shell metacharacters before calling fsSize()
  • Consider using a hardcoded list of allowed drive letters rather than accepting dynamic input
bash
# Update systeminformation to patched version
npm update systeminformation@5.27.14

# Verify installed version
npm list systeminformation

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33826: Windows Active Directory RCE Vulnerability

  • CVE-2026-32183: Windows Snipping Tool RCE Vulnerability

  • CVE-2026-32149: Windows Hyper-V RCE Vulnerability

  • CVE-2026-31995: Openclaw Command Injection Vulnerability
Default Legacy - Prefooter | 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