Description
systeminformation is a System and OS information library for node.js. From 4.17.0 to 5.31.5, on Linux, systeminformation is vulnerable to command injection in networkInterfaces() when an active NetworkManager connection profile name contains shell metacharacters. The vulnerable value is obtained internally from real nmcli device status output. The library sanitizes the network interface name before using it in shell commands, but it does not apply equivalent sanitization to the parsed NetworkManager connection profile name. That unsanitized connectionName is then interpolated into three shell command strings executed through execSync(). This vulnerability is fixed in 5.31.6.
Published: 2026-05-27
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

systeminformation is a Node.js library that retrieves system and OS information. From versions 4.17.0 through 5.31.5, the networkInterfaces() method on Linux can execute arbitrary shell commands when an active NetworkManager connection profile name includes shell metacharacters. The library sanitizes the network interface name but fails to escape the parsed connection profile name, which is interpolated into three shell command strings executed via execSync(). Consequently an attacker able to influence the connection profile name can inject commands, leading to local command execution with the privileges of the running Node.js process.

Affected Systems

The vulnerability affects the systeminformation package maintained by sebhildebrandt on Linux systems. Versions 4.17.0 up to and including 5.31.5 are vulnerable. The attack is observable when the networkInterfaces() function is called during a runtime that has execution rights over nmcli device status, and when an active connection profile name contains shell metacharacters such as ;, &, |, or $.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. The EPSS score is unavailable, so exploitation likelihood cannot be quantified; however, since the vulnerability requires a scenario where the application can control or influence the NM connection profile name, the attack vector is likely local but could be abused in environments where arbitrary connection names can be added (e.g., in container or VM images). The vulnerability is not listed in the CISA KEV catalog, so no known exploit activity is reported currently. The patch was released in 5.31.6, and running a newer version eliminates this risk.

Generated by OpenCVE AI on May 27, 2026 at 21:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the systeminformation package to version 5.31.6 or later.
  • If an immediate upgrade is not possible, remove or avoid calling the networkInterfaces() function when a vulnerable version is in use.
  • Run the Node.js application with the least privileges required, limiting the ability to affect NetworkManager connection profiles.

Generated by OpenCVE AI on May 27, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hvx9-hwr7-wjj9 Systeminformation vulnerable to Linux command injection in networkInterfaces() via unsanitized NetworkManager connection profile name
History

Thu, 28 May 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Sebhildebrandt
Sebhildebrandt systeminformation
Vendors & Products Sebhildebrandt
Sebhildebrandt systeminformation

Wed, 27 May 2026 20:15:00 +0000

Type Values Removed Values Added
Description systeminformation is a System and OS information library for node.js. From 4.17.0 to 5.31.5, on Linux, systeminformation is vulnerable to command injection in networkInterfaces() when an active NetworkManager connection profile name contains shell metacharacters. The vulnerable value is obtained internally from real nmcli device status output. The library sanitizes the network interface name before using it in shell commands, but it does not apply equivalent sanitization to the parsed NetworkManager connection profile name. That unsanitized connectionName is then interpolated into three shell command strings executed through execSync(). This vulnerability is fixed in 5.31.6.
Title systeminformation: Linux command injection in networkInterfaces() via unsanitized NetworkManager connection profile name
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Sebhildebrandt Systeminformation
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-27T19:26:28.392Z

Reserved: 2026-05-07T18:04:17.308Z

Link: CVE-2026-44724

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-27T20:16:37.617

Modified: 2026-05-27T20:16:37.617

Link: CVE-2026-44724

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T02:00:04Z

Weaknesses