CVE-2026-50289CWE-78

systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux

High · published July 17, 2026

CVSS v4.0
8.7
EPSS
4%
Percentile
89.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
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
EPSS
0.03557 · 89.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-07-17T19:42Z
EPSS history
Timeline
  • 17 JUL 19:42Z
    systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
    cvelistv5