CVE-2026-50289
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.
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-20 |
Timeline
- 2026-07-15GitHub advisory published (GHSA-5xpp-75jx-m839)2 days before publication
- 2026-07-17Published by the CNA19:42 UTC
- 2026-07-20CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-5xpp-75jx-m839, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm systeminformation | before 5.31.7 | 5.31.7 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| systeminformation systeminformation | before 5.31.7fixed in 5.31.7 | 5.31.7 |
References
- https://github.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fefdb3cb4442fd9dd4f03
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839
- https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-50289'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-50289'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-50289'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-50289'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).