← Vulnerability feed

Vulnerability record · CVE-2026-50289 · published 17 July 2026

CVE-2026-50289: Systeminformation os command injection vulnerability

Systeminformation · Systeminformation

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.

8.7 CVSS 4.0 High EPSS 3.6% · top 11.1% CWE-78 · OS command injection
8.7CVSS 4.0 base score
3.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
29 Jul 2026Last modified by NVD

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:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-50289 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2021-21315systeminformation npm package command injection via service parametersThe Node.js package systeminformation before 5.3.1 passes service parameters to functions such as si.inetLatency(), si.inetChecksite(), si.services()…KEVEPSS 91%analysed9.8CVE-2023-42810Systeminformation command injection vulnerabilitysysteminformation is a System Information Library for Node.JS. Versions 5.0.0 through 5.21.6 have a SSID Command Injection Vulnerability. The problem…EPSS 2.2%9.8CVE-2020-26300Systeminformation command injection vulnerabilitysysteminformation is an npm package that provides system and OS information library for node.js. In systeminformation before version 4.26.2 there is …EPSS 1.4%9.8CVE-2021-21388Systeminformation improper input validation vulnerabilitysysteminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions …EPSS 1.9%9.8CVE-2020-26245Systeminformation os command injection vulnerabilitynpm package systeminformation before version 4.30.5 is vulnerable to Prototype Pollution leading to Command Injection. The issue was fixed with a rew…EPSS 2.2%8.8CVE-2026-26318Systeminformation os command injection vulnerabilitysysteminformation is a System and OS information library for node.js. Versions prior to 5.31.0 are vulnerable to command injection via unsanitized `l…EPSS 1.3%8.8CVE-2020-26274Systeminformation os command injection vulnerabilityIn systeminformation (npm package) before version 4.31.1 there is a command injection vulnerability. The problem was fixed in version 4.31.1 with a s…EPSS 2.7%8.8CVE-2020-7752Systeminformation os command injection vulnerabilityThis affects the package systeminformation before 4.27.11. This package is vulnerable to Command Injection. The attacker can concatenate curl's param…EPSS 6.7%

Source: NIST National Vulnerability Database (record CVE-2026-50289), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.