High severity · published Jul 17, 2026
CVE-2026-50289
systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
8.8
CVSS
3.6%
EPSS
No
On KEV
Description
systeminformation is a System and OS information library for node.js. Prior to 5.31.7, networkInterfaces() on Linux is vulnerable to OS command injection through the Debian/Ubuntu interfaces(5) source directive because lib/network.js checkLinuxDCHPInterfaces() reads /etc/network/interfaces, extracts a source <path> token from file content, and interpolates it unquoted into cat ${file} 2> /dev/null | grep 'iface\|source' executed by execSync(cmd, util.execOptsLinux), allowing a path containing shell metacharacters to execute commands in any process that calls networkInterfaces(), including via getStaticData() and getAllData(). This issue is fixed in version 5.31.7.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.6% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SY
systeminformation · sebhildebrandt
< 5.31.7 · source: vendor, NVD
Affected product
SY
systeminformation
sebhildebrandt
More from systeminformation
7.8
CVE-2021-21315
Command Injection Vulnerability
7.8
CVE-2026-116576
systeminformation: Windows command injection in services() through Unicode quotation marks
7.8
CVE-2026-44724
systeminformation: Linux command injection in networkInterfaces() via unsanitized NetworkManager connection profile name
7.8
CVE-2024-56334
Command injection vulnerability in getWindowsIEEE8021x (SSID) function in systeminformation
6.5
CVE-2026-116674
systeminformation: Prototype pollution in `networkStats()` via the interface name