Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.4

CVE-2026-50289: systeminformation: Linux system command injection via interfaces file

CVE-2026-50289 · published 2 months ago
Summary

A vulnerability in systeminformation's networkInterfaces() function on Linux allows attackers to execute system commands with the privileges of the calling process. This can happen if an attacker can modify the /etc/network/interfaces file or any file it includes. To mitigate this risk, system administrators should ensure that the /etc/network/interfaces file is secure and cannot be modified by unauthorized users.

What to do
  • Update plusinnovations systeminformation to version 5.31.7.
  • Update debian node-systeminformation to version 5.31.7-1.
  • Update systeminformation systeminformation to version 5.31.7 or later.
Affected software
Ecosystem VendorProductAffected versions
npm plusinnovations systeminformation <= 5.31.6
< 5.31.7
Fix: upgrade to 5.31.7
– sebhildebrandt systeminformation < 5.31.7
Debian:14 debian node-systeminformation < 5.31.7-1
Fix: upgrade to 5.31.7-1
– systeminformation systeminformation < 5.31.7
cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*
Original advisory text
systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
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.
Severity
9.4 Critical
CVSS 4.0: 8.7 (GHSA)
CVSS 4.0: 9.4 (OSV)
Exploitation
EPSS 4%
Type
CWE-78OS Command Injection
Timeline
Published17 Jul 2026
Updated25 Sep 2026
First seen16 Jul 2026
Track software like this
Free during beta