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 | Vendor | Product | Affected 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.
References
- https://github.com/advisories/GHSA-5xpp-75jx-m839
- https://security-tracker.debian.org/tracker/CVE-2026-50289 Vendor Advisory
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xp...
- https://github.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fe...
- https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7
- https://github.com/sebhildebrandt/systeminformation Product
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50289... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-50289 Vendor Advisory
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
Sources
DEBIAN-CVE-2026-50289 · OSV
GHSA-5xpp-75jx-m839 · GHSA
CVE-2026-50289 · NVD
GHSA-5xpp-75jx-m839 · OSV
CVE-2026-50289 · MITRE
CVE-2026-50289 · OSV
Track software like this
Free during beta