8.8High
CVE-2026-26318systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`
Description
systeminformation is a System and OS information library for node.js. Versions prior to 5.31.0 are vulnerable to command injection via unsanitized `locate` output in `versions()`. Version 5.31.0 fixes the issue.
Weakness (CWE):
CWE-78
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Red Hat | Red Hat Developer Hub | all versions | |
| sebhildebrandt | systeminformation | < 5.31.0 | |
| systeminformation | systeminformation | < 5.31.0 |
References and patches
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-5vv4-hvf7-2h46 ExploitMitigationVendor Advisory
- https://github.com/sebhildebrandt/systeminformation/commit/b67d3715eec881038ccbaace2f2711419ac3e107 Patch
- https://access.redhat.com/security/cve/CVE-2026-26318
- https://bugzilla.redhat.com/show_bug.cgi?id=2441124
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26318.json
CPE matches (NVD) (1)
cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*< 5.31.0