Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 2.2%top 19%

CVE-2026-50289: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in sebhildebrandt systeminformation

0
High
Published: 07/17/2026 (07/17/2026, 19:42:41 UTC)
Source: GCVE Database
Vendor/Project: sebhildebrandt
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

npmghsa
systeminformation
Affected versions
<5.31.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 21:00:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses