Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-26318

CVE-2026-26318: systeminformation Command Injection RCE

CVE-2026-26318 is a command injection vulnerability in systeminformation, a Node.js library for system information. Attackers can exploit unsanitized locate output to execute remote code. This article covers affected versions, technical details, impact assessment, and mitigation strategies.

Published: February 20, 2026

CVE-2026-26318 Overview

CVE-2026-26318 is a command injection vulnerability affecting systeminformation, a popular System and OS information library for Node.js. The vulnerability exists in versions prior to 5.31.0 and allows attackers to inject arbitrary commands through unsanitized output from the locate command when processed by the versions() function.

Critical Impact

Attackers with local access can execute arbitrary commands on the system, potentially leading to complete system compromise, data theft, or lateral movement within affected environments.

Affected Products

  • systeminformation versions prior to 5.31.0
  • Node.js applications using vulnerable systeminformation library
  • Systems running the versions() function with untrusted locate output

Discovery Timeline

  • 2026-02-19 - CVE CVE-2026-26318 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-26318

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw resides in how the systeminformation library processes output from the locate command within its versions() function. When the library retrieves version information, it fails to properly sanitize the output before using it in subsequent command constructions.

An attacker who can influence the output of the locate command—either by placing maliciously named files on the filesystem or by exploiting other path-related mechanisms—can inject arbitrary shell commands that will be executed with the privileges of the Node.js process.

Root Cause

The root cause of this vulnerability is insufficient input sanitization in the versions() function. When processing results from the locate command to gather system information, the library concatenates or interpolates these values directly into shell command strings without proper escaping or validation. This allows special shell characters and command separators to be interpreted as executable commands rather than data.

Attack Vector

The attack vector requires local access to the system. An attacker must be able to create files with specially crafted names or otherwise influence the output that locate returns. Once the malicious filename or path is processed by the vulnerable versions() function, the embedded commands are executed. This could be exploited in scenarios where:

  • Multi-user systems allow placing files in shared or indexed directories
  • Applications process user-uploaded filenames without renaming
  • The locate database includes paths from user-writable directories

The vulnerability enables command execution in the context of the Node.js application, which could lead to privilege escalation if the application runs with elevated permissions.

Detection Methods for CVE-2026-26318

Indicators of Compromise

  • Unusual child processes spawned from Node.js applications, particularly shell commands with unexpected arguments
  • Files with suspicious names containing shell metacharacters (;, |, $(), backticks) in directories indexed by locate
  • Application logs showing unexpected command execution errors or shell syntax errors
  • Network connections or file system access patterns inconsistent with normal application behavior

Detection Strategies

  • Monitor Node.js application process trees for anomalous shell command execution patterns
  • Implement file integrity monitoring on directories indexed by locate to detect maliciously named files
  • Deploy application-level logging to capture versions() function calls and their outputs
  • Use runtime application security monitoring to detect command injection attempts

Monitoring Recommendations

  • Enable audit logging for process creation events, particularly those originating from Node.js processes
  • Monitor for unusual patterns in locate command usage and output processing
  • Implement network monitoring for unexpected outbound connections from Node.js applications
  • Review application dependencies regularly using software composition analysis (SCA) tools

How to Mitigate CVE-2026-26318

Immediate Actions Required

  • Update systeminformation to version 5.31.0 or later immediately
  • Audit applications using the systeminformation library to identify vulnerable deployments
  • Review the versions() function usage in your codebase and assess exposure
  • Restrict file creation permissions in directories indexed by locate where possible

Patch Information

The vulnerability has been fixed in systeminformation version 5.31.0. The patch implements proper sanitization of locate output before it is used in command construction. The fix is available in commit b67d3715eec881038ccbaace2f2711419ac3e107. Detailed information about the vulnerability is available in the GitHub Security Advisory GHSA-5vv4-hvf7-2h46.

Workarounds

  • Avoid using the versions() function in affected versions until patching is possible
  • Implement application-level input validation if locate results are used elsewhere in your application
  • Run Node.js applications with minimal privileges to limit the impact of command execution
  • Consider containerization with restricted capabilities to limit potential damage from exploitation
bash
# Update systeminformation to the patched version
npm update systeminformation@5.31.0

# Or explicitly install the fixed version
npm install systeminformation@5.31.0

# Verify the 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/TechSysteminformation

  • SeverityHIGH

  • CVSS Score8.8

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

  • GitHub Security Advisory GHSA-5vv4-hvf7-2h46
  • Related CVEs
  • CVE-2026-26280: systeminformation Library RCE Vulnerability

  • CVE-2021-21315: Systeminformation Command Injection RCE Flaw

  • CVE-2023-42810: Systeminformation RCE 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