CVE-2026-26280
Command Injection in systeminformation wifiNetworks() Allows Remote Code Execution
Publication date: 2026-02-19
Last updated on: 2026-02-20
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| systeminformation | systeminformation | to 5.30.8 (exc) |
Helpful Resources
Exploitability
| 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.