CVE-2026-50289

HIGH CVSS 4.0: 8.7 EPSS 1.87%
Updated Jul 29, 2026
Ubuntu
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 5.31.7
Fixed In 5.31.7
Type CWE-78 (OS Command Injection)
Vendor Ubuntu
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Systeminformation Systeminformation
cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*
5.31.7