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 Library RCE Vulnerability

CVE-2025-68154 is a remote code execution flaw in Systeminformation library affecting Windows systems through command injection in the fsSize() function. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2025-68154 Overview

CVE-2025-68154 is an OS command injection vulnerability [CWE-78] in the systeminformation Node.js library, a widely used System and OS information module. The flaw exists in the fsSize() function on Windows systems, where the optional drive parameter is concatenated directly into a PowerShell command without sanitization. Applications that forward user-controlled input to fsSize() allow attackers to execute arbitrary commands on the host. Versions prior to 5.27.14 are affected, and version 5.27.14 contains the patch.

Critical Impact

Attackers who reach the fsSize() function with crafted input can execute arbitrary PowerShell commands on Windows hosts, leading to full system compromise.

Affected Products

  • systeminformation versions prior to 5.27.14
  • Microsoft Windows hosts running affected versions
  • Node.js applications that pass user-controlled input to fsSize()

Discovery Timeline

  • 2025-12-16 - CVE-2025-68154 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2025-68154

Vulnerability Analysis

The systeminformation library exposes the fsSize() function to enumerate file system size information. On Windows, the implementation invokes PowerShell to gather drive statistics. The optional drive argument is concatenated into the PowerShell command string without escaping or allow-list validation.

When an application accepts user input and passes it as the drive parameter, an attacker can inject PowerShell metacharacters and additional statements. The injected payload runs in the same process context as the Node.js application, granting the attacker arbitrary command execution on the host. Exploitability hinges on application design — libraries called only with trusted internal constants are not exposed.

Root Cause

The root cause is missing input sanitization on the drive argument before string concatenation into a shell command. The function builds a PowerShell command dynamically and executes it via a child process, classic [CWE-78] OS command injection. Neither parameterization nor strict character filtering is applied to the argument prior to shell invocation.

Attack Vector

The attack vector is network-reachable when a vulnerable application exposes an interface — for example, an HTTP endpoint, IPC channel, or message queue handler — that forwards untrusted input into fsSize(drive). The attacker supplies a payload containing PowerShell command separators followed by arbitrary commands. The injected commands execute with the privileges of the Node.js process, which on many Windows deployments runs as a service account with elevated rights.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-wphj-fx3q-84ch for vendor technical details.

Detection Methods for CVE-2025-68154

Indicators of Compromise

  • Unexpected powershell.exe child processes spawned by node.exe on Windows hosts running applications that depend on systeminformation.
  • PowerShell command lines containing drive enumeration logic appended with suspicious operators such as ;, &, |, or backticks.
  • Outbound network connections initiated by powershell.exe shortly after a request to an application endpoint that consumes drive or storage parameters.

Detection Strategies

  • Audit application source code and dependency trees for calls to fsSize() that receive externally controlled input. Use npm ls systeminformation to identify vulnerable versions in deployed projects.
  • Monitor process creation events on Windows hosts for node.exe spawning powershell.exe with non-standard arguments, correlating against known-good baselines.
  • Inspect HTTP and API logs for requests containing shell metacharacters in parameters that map to drive or filesystem queries.

Monitoring Recommendations

  • Enable PowerShell Script Block Logging and Module Logging on Windows servers to capture the full executed command text.
  • Forward Windows Event Log channel Microsoft-Windows-PowerShell/Operational and Sysmon Event ID 1 (process creation) to a centralized log platform for correlation.
  • Alert on parent-child relationships where node.exe launches powershell.exe outside of expected administrative windows.

How to Mitigate CVE-2025-68154

Immediate Actions Required

  • Upgrade systeminformation to version 5.27.14 or later across all Node.js projects, including transitive dependencies.
  • Review application code paths for any invocation of fsSize() that consumes user-supplied input and remove or sanitize the input.
  • Rotate credentials and inspect Windows hosts for signs of post-exploitation activity if vulnerable code was internet-exposed.

Patch Information

The maintainer released a fix in version 5.27.14. The change is documented in the vendor commit c52f9fd07fef42d2d8e8c66f75b42178da701c68 and the GitHub Security Advisory GHSA-wphj-fx3q-84ch. Upgrading to 5.27.14 removes the unsafe concatenation of the drive parameter into the PowerShell command.

Workarounds

  • Do not pass user-controlled input to fsSize(). Use a strict allow-list of expected drive letters such as C:, D: before invoking the function.
  • Enforce input validation at the application boundary, rejecting any value containing characters outside [A-Za-z]:.
  • Run Node.js services on Windows under least-privilege accounts to limit the impact of any successful command injection.
bash
# Upgrade systeminformation to the patched release
npm install systeminformation@5.27.14
npm audit

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Windows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.05%

  • 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-2023-3079: Google Chrome V8 RCE Vulnerability

  • CVE-2025-4660: Forescout SecureConnector RCE Vulnerability

  • CVE-2023-24816: IPython Command Injection RCE Vulnerability

  • CVE-2022-28182: Nvidia GPU Display Driver RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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