{
  "id": "CVE-2026-50289",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50289",
  "published_at": "2026-07-17T19:42:41.417Z",
  "title": "systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux",
  "vendor": "sebhildebrandt",
  "product": "systeminformation",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "systeminformation is a System and OS information library for node.js. Prior to 5.31.7, networkInterfaces() on Linux is vulnerable to OS command injection through the Debian/Ubuntu interfaces(5) source directive because lib/network.js checkLinuxDCHPInterfaces() reads /etc/network/interfaces, extracts a source \u003cpath\u003e token from file content, and interpolates it unquoted into cat ${file} 2\u003e /dev/null | grep 'iface\\|source' executed by execSync(cmd, util.execOptsLinux), allowing a path containing shell metacharacters to execute commands in any process that calls networkInterfaces(), including via getStaticData() and getAllData(). This issue is fixed in version 5.31.7.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "sebhildebrandt",
        "product": "systeminformation",
        "ranges": [
          "\u003c 5.31.7"
        ],
        "fixed_in": [
          "5.31.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade systeminformation to 5.31.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fefdb3cb4442fd9dd4f03"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
