MediumCVE-2026-116674

    systeminformation: Prototype pollution in `networkStats()` via the interface name (CVE-2026-116674)

    Published Last modified Sources: OSV, Hersteller, CVE.org

    What is affected, what to do

    Update Sebhildebrandt Systeminformation to version 5.33.13.

    Affected
    • Sebhildebrandt Systeminformation lt *..5.33.13
    Fixed in
    • Sebhildebrandt Systeminformation 5.33.13

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    6.5

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: Vendor (CNA), CVSS v3

    6.5

    CVSS v3

    Severity Medium on the scale from 0 to 10.

    Source: OSV, Hersteller, CVE.org

    0.3 %

    EPSS score

    Low — model estimates < 1% exploitation likelihood.

    Source: FIRST EPSS, percentile 21.3

    Show all metrics
    Severity
    Medium
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    66.13 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    no public PoC known
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    6.5 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    6.5
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    0.3 %
    Low — model estimates < 1% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    21.3
    Elevated — this CVE ranks above at least 10% of all CVEs scored today.
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-1321

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    Summary

    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.

    Details

    The vulnerable code

    lib/network.js declares the cache as a plain object:

    const _network = {};
    

    calcNetworkSpeed() writes into it, keyed by the interface name:

    } else {
      if (!_network[iface]) {
        _network[iface] = {};
      }
      _network[iface].rx_bytes  = rx_bytes;
      _network[iface].tx_bytes  = tx_bytes;
      _network[iface].rx_sec    = null;
      _network[iface].tx_sec    = null;
      _network[iface].ms        = Date.now();
      _network[iface].last_ms   = 0;
      _network[iface].operstate = operstate;
    }
    

    With iface === '__proto__' this misbehaves twice:

    1. _network['__proto__'] does not read a missing own property — it invokes the inherited __proto__ getter and returns Object.prototype, which is truthy. The if (!_network[iface]) guard therefore never creates the {} placeholder.
    2. Each following assignment writes onto Object.prototype.

    After one call, rx_bytes, tx_bytes, rx_sec, tx_sec, ms, last_ms and operstate are visible on every object in the process. A second call takes the other branch (_network['__proto__'].ms is now truthy) and keeps them updated.

    Why the existing sanitizing does not help

    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:

    "a;id"        -> "aid"
    "a$(id)"      -> "aid"
    "a|id"        -> "aid"
    "a`id`"       -> "aid"
    "__proto__"   -> "__proto__"     <-- unchanged
    "constructor" -> "constructor"   <-- unchanged
    

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

    Reachability

    The cache write is guarded incidentally on three of four platform branches. These guards exist for unrelated reasons and are not a deliberate defence:

    PlatformCode pathReachable with an arbitrary name?
    Linux / Androidfs.existsSync('/sys/class/net/' + ifaceSanitized)No — a non-existent interface returns early
    macOSrequires netstat to emit a data row beyond the headerNo — verified on macOS 27, Object.prototype stays clean
    Windowsif (rx_bytes && tx_bytes) — requires a real adapter matchNo
    FreeBSD / OpenBSD / NetBSDif (!error) { …; result = calcNetworkSpeed(ifaceSanitized, …) }Yes — the call sits outside the parsing loop, so any successful netstat exit reaches it, and netstat -ibndI <unknown> prints only its header and exits 0

    The important part is not that three platforms happen to be safe, but that nothing in the design prevents the write. Any future platform branch without such a guard reopens the issue, which is why the fix is applied at the cache rather than at the call sites.

    Age

    The pattern predates the v5 line — git log -S "_network[iface] = {}" traces it back to a refactoring before v3.42.5. The v3 and v4 lines are end of life; the advisory covers v5.

    Impact

    The attacker controls which attributes appear on Object.prototype but not their values — those come from the interface statistics (rx_bytes, ms, operstate …). The attribute names are fixed by the library, so this is not an arbitrary-key pollution primitive.

    The consequences are therefore application specific and arise from name collisions:

    • Any application code that tests if (obj.operstate), if (obj.ms) or similar on an object that should not have those properties now takes the wrong branch.
    • for…in loops over plain objects gain seven extra enumerable keys, which can corrupt serialisation, configuration merging or validation logic.
    • Libraries that use {} as a lookup map and check membership with in or truthiness can return values for keys that were never inserted.

    No path to remote code execution is known, and the values cannot be chosen by the attacker.

    Proof of concept

    The underlying primitive (any platform)

    const { calcNetworkSpeed } = require('systeminformation/lib/network.js'); // internal
    const cache = {};                       // the declaration used by the library
    calcNetworkSpeed('__proto__', 1, 2, 'up', 0, 0, 0, 0);
    
    console.log({}.rx_bytes);               // 1
    console.log({}.operstate);              // 'up'
    console.log(Object.prototype.hasOwnProperty('rx_bytes')); // true
    

    End to end through the public API (FreeBSD / OpenBSD / NetBSD)

    const si = require('systeminformation');
    
    (async () => {
      console.log('before:', {}.operstate);   // undefined
      await si.networkStats('__proto__');     // an attacker supplied interface name
      console.log('after :', {}.operstate);   // 'up'  -> Object.prototype is polluted
    })();
    

    On Linux, macOS and Windows the same call returns an empty result set and leaves Object.prototype untouched, for the reasons in the Reachability table.

    Patch

    lib/network.js — give the cache a null prototype, so __proto__ becomes an ordinary own property instead of a setter into the prototype chain:

    -const _network = {};
    +const _network = Object.create(null);
    

    This is the smallest change that fixes the class of problem rather than one reachable path:

    • It is independent of the platform branches, so no guard has to be added or maintained.
    • It keeps behaviour identical for every legitimate interface name — Object.keys(), member reads and writes all work unchanged on a null prototype object.
    • It matches the pattern already used elsewhere in the codebase (lib/filesystem.js:114-115, lib/graphics.js:1060, lib/graphics.js:1087).
    • Object.create is ES5.1, well below the declared engines.node >= 10.0.0.

    After the patch the hostile name is stored as a normal cache entry:

    const cache = Object.create(null);
    // ... cache['__proto__'] holds the stats object, Object.prototype is untouched
    

    Workarounds

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

    1. Validate the interface name before calling — accept only names returned by si.networkInterfaces(), or reject the names __proto__, constructor and prototype.
    2. 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 versions

    All 5.x releases up to and including 5.33.12. Earlier major lines contain the same pattern but are end of life.

    What was verified, and what was not

    Verified on this machine (macOS 27, Node 24):

    • the pollution primitive, by calling the cache write with iface = '__proto__';
    • that util.sanitizeString('__proto__', true) returns the string unchanged, while shell metacharacters are stripped;
    • that unpatched v5 on macOS does not pollute through the public API;
    • that netstat -bdnI <unknown-interface> prints only its header and exits 0;
    • that the patch stores the hostile key as an own property and leaves Object.prototype clean.

    Not verified, because no such host was available:

    • end to end exploitation on FreeBSD, OpenBSD or NetBSD. That conclusion is derived from

    Source: OSV (Open Source Vulnerabilities), GitHub Security Advisories, cvelistv5, NVD (NIST)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    sebhildebrandtsysteminformation
    • < 5.33.13
    • 5.33.13
    npmsysteminformation
    • —
    • < 5.33.13
    • 5.33.13
    • 5.33.13

    Vendors and products

    Weakness classes (CWE)

    • CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

      Variant

      The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

      Entry at MITRE CWE-1321

    References & sources

    • github.comsebhildebrandt/systeminformation/commit/6ff25a1ebc0b1fdc7a8aa35…x_refsource_MISC, web
    • github.comsebhildebrandt/systeminformation/releases/tag/v5.33.13x_refsource_MISC, web
    • github.comsebhildebrandt/systeminformation/security/advisories/GHSA-7648-…x_refsource_CONFIRM, web
    • NVD (NIST)vuln/detail/CVE-2026-116674advisory
    • github.comsebhildebrandt/systeminformationpackage

    Changes to this CVE

    Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).

    1. ReceivedGitHub

      Show 7 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Descriptionadded
      —
      systeminformation is a System and OS information library for node.js. Prior to 5.33.13, networkStats(ifaces) in lib/network.js on FreeBSD, OpenBSD, and NetBSD stores per-interface data in the plain-object _network cache and indexes it with the sanitized caller-controlled interface name. Passing proto causes the inherited Object.prototype value to be used instead of creating an own cache entry, so calcNetworkSpeed() writes rx_bytes, tx_bytes, rx_sec, tx_sec, ms, last_ms, and operstate onto Object.prototype. The polluted property names are fixed and their values come from interface statistics, but inherited-name collisions and enumerable keys can corrupt application branching, serialization, configuration merging, validation, or lookup behavior. This issue is fixed in version 5.33.13.
      CVSSadded
      —
      AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
      Weakness type (CWE)added
      —
      CWE-1321
      Affected versions (publisher)added
      —
      New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/116xxx/CVE-2026-116674.json">CVE-2026-116674</a>
      Referenceadded
      —
      https://github.com/sebhildebrandt/systeminformation/commit/6ff25a1ebc0b1fdc7a8aa3507e46f22007da2969
      Referenceadded
      —
      https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.33.13
      Referenceadded
      —
      https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-7648-jmwf-vw7j

      Source identifier: security-advisories@github.com

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2026-116674
    <a href="https://intel.neosec.eu/en/cve/CVE-2026-116674"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-116674.svg?lang=en" alt="CVE-2026-116674 – NEOSEC Intel" height="20"></a>