CVE-2026-50289: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in sebhildebrandt systeminformation
CVE-2026-50289 is a high-severity OS command injection vulnerability in the systeminformation library for node.js. Versions prior to 5.31.7 are affected. The vulnerability arises because the networkInterfaces() function on Linux reads and parses /etc/network/interfaces, extracting a source path token that is interpolated unquoted into a shell command executed via execSync. This allows an attacker to inject arbitrary shell commands if they can control the path value. The issue is fixed in version 5.31.7.
AI Analysis
Technical Summary
The systeminformation node.js library versions before 5.31.7 contain an OS command injection vulnerability in the networkInterfaces() function on Linux. The function reads the /etc/network/interfaces file and extracts a source <path> token, which is then interpolated without proper sanitization into a shell command executed by execSync. This improper neutralization of special elements (CWE-78) allows an attacker to execute arbitrary commands if they can influence the source path value. The vulnerability is resolved in version 5.31.7.
Potential Impact
An attacker able to influence the source path token in /etc/network/interfaces can execute arbitrary OS commands with the privileges of the process calling networkInterfaces(). This can lead to full system compromise or unauthorized actions on affected systems running vulnerable versions of the systeminformation library on Linux.
Mitigation Recommendations
Upgrade systeminformation to version 5.31.7 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 5.31.7.
CVE-2026-50289: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in sebhildebrandt systeminformation
Description
CVE-2026-50289 is a high-severity OS command injection vulnerability in the systeminformation library for node.js. Versions prior to 5.31.7 are affected. The vulnerability arises because the networkInterfaces() function on Linux reads and parses /etc/network/interfaces, extracting a source path token that is interpolated unquoted into a shell command executed via execSync. This allows an attacker to inject arbitrary shell commands if they can control the path value. The issue is fixed in version 5.31.7.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The systeminformation node.js library versions before 5.31.7 contain an OS command injection vulnerability in the networkInterfaces() function on Linux. The function reads the /etc/network/interfaces file and extracts a source <path> token, which is then interpolated without proper sanitization into a shell command executed by execSync. This improper neutralization of special elements (CWE-78) allows an attacker to execute arbitrary commands if they can influence the source path value. The vulnerability is resolved in version 5.31.7.
Potential Impact
An attacker able to influence the source path token in /etc/network/interfaces can execute arbitrary OS commands with the privileges of the process calling networkInterfaces(). This can lead to full system compromise or unauthorized actions on affected systems running vulnerable versions of the systeminformation library on Linux.
Mitigation Recommendations
Upgrade systeminformation to version 5.31.7 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 5.31.7.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5xpp-75jx-m839
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50289"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a58b40468715ace43d67019
Added to database: 07/16/2026, 10:35:48 UTC
Last enriched: 07/23/2026, 21:00:41 UTC
Last updated: 09/01/2026, 10:52:09 UTC
Views: 133
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.