CVE-2025-68154Command Injection in fsSize() on Windows
Description
systeminformation is a System and OS information library for node.js. In versions prior to 5.27.14, the `fsSize()` function in systeminformation is vulnerable to OS command injection on Windows systems. The optional `drive` parameter is directly concatenated into a PowerShell command without sanitization, allowing arbitrary command execution when user-controlled input reaches this function. The actual exploitability depends on how applications use this function. If an application does not pass user-controlled input to `fsSize()`, it is not vulnerable. Version 5.27.14 contains a patch.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| sebhildebrandt | systeminformation | < 5.27.14 | |
| systeminformation | systeminformation | < 5.27.14 |
References and patches
CPE matches (NVD) (1)
cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*< 5.27.14