CVE-2026-26280: Systeminformation has a Command Injection via unsanitized interface parameter in wifi.js retry path
Summary 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. Details In lib/wifi.js, the wifiNetworks() function sanitizes the iface parameter on the initial call (line 437).
Published Feb 18, 2026 · Updated Feb 19, 2026
Affected packages
systeminformation
- Ecosystem
- npm
- Affected
- < 5.30.8
- Fixed in
- 5.30.8
- Check
npm ls systeminformation
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
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.
Details
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').
PoC
- Install
[email protected] - Call
si.wifiNetworks('eth0; id') - The first call sanitizes input, but if results are empty, the retry executes:
iwlist eth0; id scan
Impact
Remote Code Execution (RCE). Any application passing user-controlled input to si.wifiNetworks() is vulnerable to arbitrary command execution with the privileges of the Node.js process.
Credited to mom3gool.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116576
systeminformation vulnerable to Windows command injection in services() through Unicode quotation marks
high7.8Oct 28, 2026CVE-2026-116673
systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net
low3.3Oct 28, 2026CVE-2026-116674
systeminformation has prototype pollution in `networkStats()` via the interface name
medium6.5Oct 28, 2026CVE-2026-50289
systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
high8.7Jul 15, 2026CVE-2026-44724
Systeminformation vulnerable to Linux command injection in networkInterfaces() via unsanitized NetworkManager connection profile name
high7.8May 13, 2026CVE-2026-26318
Command Injection via Unsanitized `locate` Output in `versions()` — systeminformation
high8.8Feb 18, 2026
