CVE-2025-68154
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.
How to fix
- systeminformation systeminformation5.27.14 or later
- systeminformation5.27.14 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| systeminformation systeminformation | v < 5.27.14 | 5.27.14 |
| systeminformationnpm | v < 5.27.14 | 5.27.14 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.