Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
sebhildebrandt systeminformation
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

sebhildebrandt systeminformation是sebhildebrandt的系统信息收集库。 Sebastian Hildebrandt Systeminformation 5.31.7之前版本存在命令注入漏洞,该漏洞源于lib/network.js中checkLinuxDCHPInterfaces()函数在读取/etc/network/interfaces文件并提取source<path>令牌后,未加引号地将其拼接到execSync执行的命令中,容易受到os命令注入攻击,允许包含sh

AI Predicted 7.4 Difficulty: Easy EPSS 3.56% · P89

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
sebhildebrandt systeminformation < 5.31.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50289

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Sebastian Hildebrandt Systeminformation 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
sebhildebrandt systeminformation是sebhildebrandt的系统信息收集库。 Sebastian Hildebrandt Systeminformation 5.31.7之前版本存在命令注入漏洞,该漏洞源于lib/network.js中checkLinuxDCHPInterfaces()函数在读取/etc/network/interfaces文件并提取source<path>令牌后,未加引号地将其拼接到execSync执行的命令中,容易受到os命令注入攻击,允许包含sh
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
sebhildebrandt systeminformation < 5.31.7 -

II. Public POCs for CVE-2026-50289

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50289

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-50289 (2)

Vendor Advisories for CVE-2026-50289 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-50289

No comments yet


Leave a comment