CVEssebhildebrandtCVE-2026-50289Published Jul 17, 19:42 · Updated Jul 20, 16:22 UTC
8.7
HighCVSS 4.0 · from GitHub_M
CVE-2026-50289

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

systeminformation · OS command injection · CWE-78
Affectedsysteminformation
FixNo fix listed yet.
PublishedJul 17, 19:42 · GitHub_M
ScoredJul 17 · 8.7 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC

What we know

No known exploitation. CISA KEV, checked 22:08 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs network access and an account. CVSS: network, low privileges.
A successful attack can read and change data and take the service down. CVSS: high impact on confidentiality, integrity and availability.
A successful attack gives full control of the affected system. CISA: technical impact total.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed insysteminformation< 5.31.7–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839 · github.comrefsource_CONFIRMgithub.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fefdb3cb4442fd9dd4f03 · github.comrefsource_MISCgithub.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7 · github.comrefsource_MISC

Other CVEs in systeminformation

All 14 →
6.5systeminformation: Prototype pollution in `networkStats()` via the interface name · CVE-2026-116674Oct 273.3systeminformation: Path traversal in Linux networkStats() allows symlink-based file disclosure outside /sys/class/net · CVE-2026-116673Oct 277.8systeminformation: Windows command injection in services() through Unicode quotation marks · CVE-2026-116576Oct 26