CVE-2026-50289 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
6 packages: 4 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-systeminformation(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux python-jupytext(Azure Linux 4.0) | < 0:1.19.6-2.azl4 | 0:1.19.6-2.azl4 | Fixed |
| debian/node-systeminformation(Debian 14) | < 5.31.7-1; = 5.31.6-1; = 5.31.6-2; = 5.31.6-3 +1 more | 5.31.7-1 | Fixed |
| npm systeminformation(npm) | < 5.31.7; <= 5.31.6 | 5.31.7 | Fixed |
| systeminformation | < 5.31.7 | 5.31.7 | Fixed |
| sebhildebrandt systeminformation | = < 5.31.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sebhildebrandt systeminformation | = < 5.31.7 | No fix listed |
| npm systeminformation(npm) | <= 5.31.6 | No fix listed |
| debian/node-systeminformation(Debian:14) | < 5.31.7-1 | 5.31.7-1 |
| debian/node-systeminformation(Debian:14) | = 5.31.6-1 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-2 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-3 | No fix listed |
| debian/node-systeminformation(Debian:14) | = 5.31.6-4 | No fix listed |
| ubuntu/node-systeminformation(Ubuntu:26.10) | All versions | No fix listed |
| systeminformation | < 5.31.7 | 5.31.7 |
| npm systeminformation(npm) | < 5.31.7 | 5.31.7 |
| azure linux python-jupytext(Azure Linux:4.0) | < 0:1.19.6-2.azl4 | 0:1.19.6-2.azl4 |
References
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839 exploit mitigation vendor-advisory
- https://github.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fefdb3cb4442fd9dd4f03 patch
- https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7 product release-notes
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2501887 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-50289 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- github.com product