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.
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.
Affected software
| Software | Affected versions |
|---|---|
systeminformationnpm · osv:npm:systeminformation |
|
About systeminformation
- Weekly downloads (npm)
- 30,757,723npm, 23 Nov 2026
Vulnerabilities in systeminformation
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-116576systeminformation vulnerable to Windows command injection in services() through Unicode quotation marksHigh 7.8 28 Oct 2026
- CVE-2026-116673systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/netLow 3.3 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116674
- GitHub Advisory Database https://github.com/advisories/GHSA-7648-jmwf-vw7j