CVE-2026-116673

systeminformation: Path traversal in Linux networkStats() allows symlink-based file disclosure outside /sys/class/net

Published Oct 27, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
systeminformation is a System and OS information library for node.js. Prior to 5.33.14, the Linux networkStats(iface) implementation uses the caller-supplied interface value in an fs.existsSync() check and to build /sys/class/net/<iface> paths, including the operstate path, without verifying that it is a single interface-name segment or that the resolved path remains under /sys/class/net. An attacker who can control iface and create a directory containing symlinked statistics files can use parent-directory components and symlink traversal to make the API return the first line of a file readable by the Node.js process. The package does not expose a network endpoint, and the demonstrated scenario requires local filesystem setup. This issue is fixed in version 5.33.14.

Analysis

AI-generated

Technical impact

The systeminformation library’s Linux networkStats() function is susceptible to a path traversal issue due to the unsanitized use of a caller-supplied interface name when constructing paths under /sys/class/net. An attacker who can influence the interface argument and create a directory containing a symlinked statistic file can cause the library to read that file and return its first line to the Node.js process, enabling local disclosure of potentially sensitive files on the host.

Affected Systems

The flaw affects the systeminformation package by sebhildebrandt in versions prior to 5.33.14. The vulnerability was fixed in release 5.33.14 and later, so any Node.js application that imports the package and calls networkStats() with a user-controllable interface value in those earlier releases is vulnerable.

Risk and Exploitability

With a CVSS score of 3.3, this vulnerability is considered low severity; it does not provide remote code execution or data tampering. EPSS is not available, and it is not listed in the CISA KEV catalog. The attack requires local filesystem access: an attacker must create a malicious symlink within a directory that the application can resolve under /sys/class/net. While the risk to a host is limited to local disclosure, any environment running untrusted code with access to systeminformation could be affected.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to systeminformation v5.33.14 or later, ensuring all deployments use the fixed package.
  • Validate or whitelist interface names passed to networkStats() so that they contain no directory traversal components before invoking the function.
  • Restrict filesystem permissions to prevent untrusted users from creating symlinks in /sys/class/net or in directories reachable by the application.
  • If immediate upgrading is not possible, limit the use of systeminformation to trusted contexts and monitor for unexpected interface values.

Generated by OpenCVE AI on October 27, 2026 at 18:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4vjg-vx72-qq4g systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sebhildebrandt
Sebhildebrandt systeminformation
Vendors & Products Sebhildebrandt
Sebhildebrandt systeminformation
Type Values Removed Values Added
Description systeminformation is a System and OS information library for node.js. Prior to 5.33.14, the Linux networkStats(iface) implementation uses the caller-supplied interface value in an fs.existsSync() check and to build /sys/class/net/<iface> paths, including the operstate path, without verifying that it is a single interface-name segment or that the resolved path remains under /sys/class/net. An attacker who can control iface and create a directory containing symlinked statistics files can use parent-directory components and symlink traversal to make the API return the first line of a file readable by the Node.js process. The package does not expose a network endpoint, and the demonstrated scenario requires local filesystem setup. This issue is fixed in version 5.33.14.
Title systeminformation: Path traversal in Linux networkStats() allows symlink-based file disclosure outside /sys/class/net
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 28, 2026, 4:15 PM
Reserved
Oct 26, 2026, 8:00 PM
Status
Deferred
Published
Oct 27, 2026, 5:16 PM
Modified
Oct 28, 2026, 5:18 PM
Severity
Low
Public date
Oct 27, 2026, 4:38 PM