systeminformation path traversal in Linux networkStats interface paths
sebhildebrandt systeminformation
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| systeminformation npm |
|
|
Original 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.
From the CVE record · GitHub_M
References
- github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-4vjg-vx72-qq4g
- github.com/sebhildebrandt/systeminformation/commit/8d294b3139fec654a912969ac898037578a218cd
- github.com/sebhildebrandt/systeminformation/releases/tag/v5.33.14
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116673.json
- nvd.nist.gov/vuln/detail/CVE-2026-116673
- github.com/sebhildebrandt/systeminformation