{"id":"UBUNTU-CVE-2026-50289","details":"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 \u003cpath\u003e token from file content, and interpolates it unquoted into cat ${file} 2\u003e /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.","modified":"2026-10-17T12:58:59.602213538Z","published":"2026-07-17T20:17:00Z","upstream":["CVE-2026-50289"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-50289"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-50289"},{"type":"REPORT","url":"https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839"}],"affected":[{"package":{"name":"node-systeminformation","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/node-systeminformation?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.31.6-4","5.31.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-systeminformation","binary_version":"5.31.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50289.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}