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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.18%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-15T23:09:28.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-5xpp-75jx-m839
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 <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.

(As written by CVE List.)

## Affected

- sebhildebrandt systeminformation: < 5.31.7
- systeminformation (npm): before 5.31.7
- systeminformation systeminformation: before 5.31.7

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5xpp-75jx-m839> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/commit/bbfddde48672d0ee124fefdb3cb4442fd9dd4f03> (patch, web)
- <https://github.com/sebhildebrandt/systeminformation/releases/tag/v5.31.7> (product, release-notes, web)
- <https://github.com/sebhildebrandt/systeminformation> (package)

## Sources

- CVE List: [CVE-2026-50289](https://www.cve.org/CVERecord?id=CVE-2026-50289), CVE Terms of Use, modified 2026-07-20
- GitHub Advisory Database: [GHSA-5xpp-75jx-m839](https://github.com/advisories/GHSA-5xpp-75jx-m839), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-50289](https://nvd.nist.gov/vuln/detail/CVE-2026-50289), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-50289 · Whole record: https://cve.day/CVE-2026-50289.json · Rebuilt by cve.day 2026-11-25T22:59:28.543Z
