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-2023-42810

CVE-2023-42810: Systeminformation RCE Vulnerability

CVE-2023-42810 is a command injection RCE vulnerability in Systeminformation for Node.JS affecting versions 5.0.0 through 5.21.6. Attackers can exploit SSID parameter validation flaws to execute code remotely.

Published: February 4, 2026

CVE-2023-42810 Overview

CVE-2023-42810 is a critical command injection vulnerability affecting systeminformation, a popular System Information Library for Node.js. The vulnerability exists in versions 5.0.0 through 5.21.6 and allows attackers to inject malicious commands through SSID parameters passed to WiFi-related functions. This vulnerability poses a severe risk to applications that process untrusted WiFi network data without proper sanitization.

Critical Impact

Attackers can achieve remote code execution by injecting malicious commands through unsanitized SSID parameters in the wifiConnections() and wifiNetworks() functions, potentially leading to complete system compromise.

Affected Products

  • systeminformation versions 5.0.0 through 5.21.6 for Node.js
  • Applications using vulnerable wifiConnections() function
  • Applications using vulnerable wifiNetworks() function with string parameters

Discovery Timeline

  • 2023-09-19 - Security patch released in version 5.21.7
  • 2023-09-21 - CVE-2023-42810 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-42810

Vulnerability Analysis

This command injection vulnerability (CWE-77) exists in the systeminformation library's WiFi functionality on Linux systems. The vulnerable functions wifiConnections() and wifiNetworks() fail to properly sanitize SSID name parameters before using them in system command execution. When an application passes untrusted input to these functions, an attacker can craft malicious SSID strings containing shell metacharacters that escape the intended command context and execute arbitrary commands on the underlying operating system.

The vulnerability is particularly dangerous because WiFi SSID names are often sourced from external, untrusted environments—such as scanning nearby networks or processing user input. Applications that blindly pass this data to the systeminformation library without validation are vulnerable to exploitation.

Root Cause

The root cause of CVE-2023-42810 is improper input validation in the wifiConnections() and wifiNetworks() functions. The library directly incorporates SSID parameters into shell commands without sanitizing shell metacharacters such as semicolons, backticks, pipes, or command substitution syntax. This allows attackers to break out of the intended command context and inject arbitrary commands that execute with the privileges of the Node.js process.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious WiFi SSID containing shell injection payloads
  2. Having an application scan or connect to networks, capturing the malicious SSID
  3. The malicious SSID is passed to vulnerable wifiConnections() or wifiNetworks() functions
  4. The injected commands execute on the server with the application's privileges

The fix implemented in version 5.21.7 adds parameter validation to sanitize SSID names before command execution:

text
                     </tr>
                   </thead>
                   <tbody>
+                    <tr>
+                      <th scope="row">5.21.7</th>
+                      <td>2023-09-19</td>
+                      <td><span class="code">wifiConnections()</span> <span class="code">wifiNetworks()</span>fixed security issue (linux)</td>
+                    </tr>
                     <tr>
                       <th scope="row">5.21.6</th>
                       <td>2023-09-18</td>

Source: GitHub Commit Update

Detection Methods for CVE-2023-42810

Indicators of Compromise

  • Unexpected child process spawning from Node.js applications utilizing systeminformation
  • Anomalous shell commands executed in the context of web applications or Node.js services
  • Log entries showing malformed SSID names containing shell metacharacters (;, |, `, $())
  • Unusual network connections or data exfiltration from Node.js processes

Detection Strategies

  • Monitor Node.js application logs for unusual command execution patterns or errors related to WiFi functions
  • Implement application-level logging around calls to wifiConnections() and wifiNetworks() to capture input parameters
  • Use runtime application self-protection (RASP) solutions to detect command injection attempts
  • Deploy SentinelOne Singularity to detect and prevent malicious command execution from Node.js processes

Monitoring Recommendations

  • Enable process monitoring to detect unexpected shell commands spawned by Node.js applications
  • Configure alerts for network reconnaissance activities from application servers
  • Review dependency manifests (package.json and package-lock.json) to identify vulnerable systeminformation versions
  • Implement Software Composition Analysis (SCA) in CI/CD pipelines to catch vulnerable dependencies before deployment

How to Mitigate CVE-2023-42810

Immediate Actions Required

  • Upgrade systeminformation to version 5.21.7 or later immediately
  • Audit all codepaths that call wifiConnections() or wifiNetworks() functions
  • Implement input validation and sanitization for any SSID parameters before passing to the library
  • Review application logs for any historical evidence of exploitation attempts

Patch Information

The vulnerability was fixed in systeminformation version 5.21.7 released on 2023-09-19. The patch adds parameter validation to sanitize SSID names before they are used in system commands. Organizations should update their package.json to require "systeminformation": ">=5.21.7" and run npm update to apply the fix.

For detailed information about the security fix, refer to the GitHub Security Advisory and the System Information Security Overview.

Workarounds

  • Implement strict input validation for any strings passed to wifiConnections() and wifiNetworks() functions
  • Sanitize SSID parameters by removing or escaping shell metacharacters before function calls
  • Consider disabling WiFi-related functionality if not essential to application operations
  • Isolate applications using systeminformation in sandboxed environments with limited system privileges
bash
# Update systeminformation to patched version
npm update systeminformation

# Verify installed version is 5.21.7 or higher
npm list systeminformation

# Check for vulnerable versions in project dependencies
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/TechSysteminformation

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.06%

  • 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-77
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory

  • System Information Security Overview
  • Related CVEs
  • CVE-2026-26318: systeminformation Command Injection RCE

  • CVE-2026-26280: systeminformation Library RCE Vulnerability

  • CVE-2021-21315: Systeminformation Command Injection RCE Flaw
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