All vulnerabilities

npm

CVE-2026-116674

systeminformation has prototype pollution in `networkStats()` via the interface name

Severity
Medium 6.5
Published
28 Oct 2026
Last changed
28 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
5.33.13
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Prototype pollution (CWE-1321)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
Also known as
GHSA-7648-jmwf-vw7j
Sources
OSV.dev and GitHub

Description

networkStats() keeps a per interface cache for computing rx_sec / tx_sec between calls. The cache is a plain JavaScript object and is indexed with the interface name the caller supplied. Passing the name proto makes every cache write land on Object.prototype instead of the cache, polluting every object in the Node.js process.

An application is affected if it passes untrusted input as the ifaces argument of si.networkStats() and runs on FreeBSD, OpenBSD or NetBSD.

The interface name does pass through util.sanitizeString(iface, true) before it is used as the cache key. That function is a shell metacharacter filter, built to stop command injection in the netstat / ifconfig invocations — a different threat. Property names made of letters and underscores are legitimate interface names and pass through untouched:

The sanitizer is doing its job; the gap is that no layer treats the value as an object key.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

For users who cannot upgrade immediately, either of these is sufficient:

  • Validate the interface name before calling — accept only names returned by si.networkInterfaces(), or reject the names proto, constructor and prototype.
  • Never pass untrusted input as the ifaces argument. Passing '*' or omitting the argument is unaffected, because those names come from the system rather than the caller.

Freezing Object.prototype (Object.freeze(Object.prototype)) also prevents the write, but it has wide-reaching side effects on other dependencies and is not recommended as a general mitigation.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
systeminformationnpm · osv:npm:systeminformation
  • Every version before 5.33.13

About systeminformation

Weekly downloads (npm)
30,757,723npm, 23 Nov 2026

References