CVE-2025-68154
Command Injection in fsSize() on Windows
HIGH 8.1EPSS 13.0%
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
- sebhildebrandt · systeminformation
- CVSS v3.1 GITHUB
- 8.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 12.99% chance of exploitation in the next 30 days, 96th percentile
- Published
- 2025-12-16
- Updated
- 2025-12-17
Proof-of-concept exploits (1)
Security advisories
- sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch
- sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68