What’s Vulnerable › Vulnerabilities
CVE-2025-68154: Command Injection in fsSize() on Windows
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 13.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-12-16 · updated 2026-09-30
- Weakness: CWE-78
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.
Affected products
- sebhildebrandt systeminformation: before 5.27.14 — fixed in 5.27.14
How to fix
Upgrade to a fixed version: sebhildebrandt systeminformation 5.27.14. Check the vendor advisory for mitigations.
References
- https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch
Get alerted when CVE-2025-68154 or the next vulnerability affects your stack