CVE-2026-26318 systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`
Attackers can execute arbitrary commands via unsanitized locate output in the versions function of the systeminformation library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-26318?
CVE-2026-26318 is a high-severity command injection vulnerability in sebhildebrandt systeminformation, published on 19 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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-78
Which versions are affected by CVE-2026-26318?
2 open source packages ship an affected version, including systeminformation. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
systeminformation npm | All versions | 5.31.0 |
systeminformation npm | All versions | 5.31.0 |
Products include Systeminformation Systeminformation.
How do I fix CVE-2026-26318?
Upgrade systeminformation to 5.31.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-26318 being exploited?
There is no known exploitation of CVE-2026-26318 in the wild and no public exploit code.
Other vulnerabilities in sebhildebrandt systeminformation
- CVE-2023-42810 systeminformation SSID Command Injection Vulnerability
- CVE-2021-21388 Command Injection Vulnerability in systeminformation
- CVE-2020-7752 Command Injection
- CVE-2026-50289 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
- CVE-2026-26280 Systeminformation has a Command Injection via unsanitized interface parameter in wifi.js retry path
Sources
Also known as CLEANSTART-2026-QA36813, DEBIAN-CVE-2026-26318, ECHO-4230-283f-f661, GHSA-5vv4-hvf7-2h46, MINI-2w4h-776p-34g7, MINI-4qxw-rrcv-8j29 and 9 more.