ADVISORIES

Vulnerability

CVE-2025-68154

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.

51 advisories report this vulnerability, across 4 ecosystems.

Advisories in npm

  • GHSA-wphj-fx3q-84ch

    systeminformation has a Command Injection vulnerability in fsSize() function on Windows

    High CVE-2025-68154 npm Updated 10 September 2026

References