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-05-27
AI Q&A
2026-02-19
EPSS Evaluated
2026-05-25
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart