# CVE-2026-50289: systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 5.31.7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-17 · Modified: 2026-07-20
- Aliases: DEBIAN-CVE-2026-50289, GHSA-5xpp-75jx-m839, CGA-4hj5-pqqf-p86q, CGA-779x-xvq6-7x3j, CGA-hwc6-v643-mfh3, CGA-qp9j-82w3-2634, UBUNTU-CVE-2026-50289
- Record: https://cvemate.com/vulnerability/CVE-2026-50289 · JSON: https://cvemate.com/vulnerability/CVE-2026-50289/json

## Description

```text
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 <path> token from file content, and interpolates it unquoted into cat ${file} 2> /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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.184%, percentile 82.999%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard homepage (Chainguard): \< 1.13.2-r6
- chainguard opentelemetry-auto-instrumentations-node (Chainguard): \< 0.79.0-r1
- debian node-systeminformation (Debian): \< 5.31.7-1
- ubuntu node-systeminformation (Ubuntu): All versions (No fix recorded)
- Npm systeminformation (Npm): \< 5.31.7
- sebhildebrandt systeminformation: \< 5.31.7
- systeminformation systeminformation: \< 5.31.7

## References

- <https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839>
- <https://github.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fefdb3cb4442fd9dd4f03>
- <https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7>
- <https://security-tracker.debian.org/tracker/CVE-2026-50289>
- <https://github.com/sebhildebrandt/systeminformation>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50289.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50289>
- <https://ubuntu.com/security/CVE-2026-50289>
- <https://www.cve.org/CVERecord?id=CVE-2026-50289>

---

Data as of 2026-12-05T07:00:22.097Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
