node-systeminformation — security advisory
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 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.
- Products
- node-systeminformation
- Affected versions
- 5.31.6-1, 5.31.6-2, 5.31.6-3, 5.31.6-4
- Fixed versions
- 5.31.7-1
- CVEs
- CVE-2026-50289
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:52 UTC · Revision 2
Source evidence
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 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.
osv:DEBIAN-CVE-2026-50289
node-systeminformation
Fixed versions: 5.31.7-1
Complete source record
{
"id": "d08ed80bec671542d9fab5b05967c5d709c0356f5859b20fbc198efc0d5db35e",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-50289",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-50289",
"summary": "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 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.",
"evidence": "osv:DEBIAN-CVE-2026-50289",
"products": [
{
"name": {
"value": "node-systeminformation",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.31.7-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "5.31.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.31.6-2",
"evidence": "/affected/0/versions"
},
{
"value": "5.31.6-3",
"evidence": "/affected/0/versions"
},
{
"value": "5.31.6-4",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-50289",
"aliases": [
"DEBIAN-CVE-2026-50289"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.31.7-1"
}
]
}
],
"package": {
"name": "node-systeminformation",
"purl": "pkg:deb/debian/node-systeminformation?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.31.6-1",
"5.31.6-2",
"5.31.6-3",
"5.31.6-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50289.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-25T09:47:30.621471645Z",
"provider": "osv",
"upstream": [
"CVE-2026-50289"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-50289"
]
},
"related_cves": [
{
"value": "CVE-2026-50289",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 445144,
"published_at": "2026-07-17T20:17:24.857+00:00"
}