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.
References
| Link | Resource |
|---|---|
| https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68 | Patch |
| https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch | Exploit Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
| AND |
|
History
30 Sep 2026, 23:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
Information
Published : 2025-12-16 19:16
Updated : 2026-09-30 23:10
NVD link : CVE-2025-68154
Mitre link : CVE-2025-68154
CVE.ORG link : CVE-2025-68154
JSON object : View
Products Affected
microsoft
- windows
systeminformation
- systeminformation
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
