CVE-2026-26280
Received Received - Intake
Command Injection in systeminformation wifiNetworks() Allows Remote Code Execution

Publication date: 2026-02-19

Last updated on: 2026-02-20

Assigner: GitHub, Inc.

Description
systeminformation is a System and OS information library for node.js. In versions prior to 5.30.8, a command injection vulnerability in the `wifiNetworks()` function allows an attacker to execute arbitrary OS commands via an unsanitized network interface parameter in the retry code path. In `lib/wifi.js`, the `wifiNetworks()` function sanitizes the `iface` parameter on the initial call (line 437). However, when the initial scan returns empty results, a `setTimeout` retry (lines 440-441) calls `getWifiNetworkListIw(iface)` with the **original unsanitized** `iface` value, which is passed directly to `execSync('iwlist ${iface} scan')`. Any application passing user-controlled input to `si.wifiNetworks()` is vulnerable to arbitrary command execution with the privileges of the Node.js process. Version 5.30.8 fixes the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-19
Last Modified
2026-02-20
Generated
2026-06-16
AI Q&A
2026-02-19
EPSS Evaluated
2026-06-14
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
systeminformation systeminformation to 5.30.8 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability exists in the systeminformation library for node.js, specifically in versions prior to 5.30.8. It is a command injection flaw in the wifiNetworks() function. When this function is called, it initially sanitizes the network interface parameter (iface). However, if the initial scan returns no results, a retry mechanism calls a function with the original unsanitized iface parameter. This unsanitized input is then passed directly to a system command (iwlist scan) via execSync, allowing an attacker to execute arbitrary OS commands with the privileges of the Node.js process.

Impact Analysis

This vulnerability can allow an attacker to execute arbitrary operating system commands on the affected system with the same privileges as the Node.js process running the systeminformation library. This can lead to full system compromise, data theft, data corruption, denial of service, or further attacks within the network.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, upgrade the systeminformation library to version 5.30.8 or later, where the issue is fixed.

Avoid passing user-controlled input directly to the wifiNetworks() function to prevent arbitrary command execution.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-26280. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart