{"id":"GHSA-9c88-49p5-5ggf","revision":"b493f4b78fe044949d4762ff9be82729","records":[{"revision":"b493f4b78fe044949d4762ff9be82729","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9c88-49p5-5ggf","aliases":["CVE-2026-26280"],"title":"Systeminformation has a Command Injection via unsanitized interface parameter in wifi.js retry path","description":"### Summary\nA command injection vulnerability in the `wifiNetworks()` function allows an attacker to execute arbitrary OS commands via an unsanitized network interface parameter in the retry code path.\n\n### Details\nIn `lib/wifi.js`, the `wifiNetworks()` function sanitizes the `iface` parameter on the initial call (line 437). However, when the initial scan returns empty results, a `setTimeout` retry (lines 440-441) calls `getWifiNetworkListIw(iface)` with the **original unsanitized** `iface` value, which is passed directly to `execSync('iwlist ${iface} scan')`.\n\n### PoC\n1. Install `systeminformation@5.30.7`\n2. Call `si.wifiNetworks('eth0; id')`\n3. The first call sanitizes input, but if results are empty, the retry executes: `iwlist eth0; id scan`\n\n### Impact\nRemote Code Execution (RCE). Any application passing user-controlled input to `si.wifiNetworks()` is vulnerable to arbitrary command execution with the privileges of the Node.js process.","state":0,"publishedAt":"2026-02-18T21:51:26+00:00","modifiedAt":"2026-09-10T03:50:34.4575563+00:00","affected":[{"ecosystem":"npm","name":"systeminformation","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.30.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-9c88-49p5-5ggf","https://nvd.nist.gov/vuln/detail/CVE-2026-26280","https://github.com/sebhildebrandt/systeminformation/commit/22242aa56188f2bffcbd7d265a11e1ebb808b460","https://github.com/sebhildebrandt/systeminformation"],"sourceUrl":"https://github.com/advisories/GHSA-9c88-49p5-5ggf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9c88-49p5-5ggf","identifiers":["GHSA-9c88-49p5-5ggf","CVE-2026-26280"]},"retained":false,"historicalAffected":[]}],"coverage":[]}