A critical vulnerability has been identified in the systeminformation library for Node.js, specifically affecting Windows systems. The flaw, tracked as CVE-2025-68154, resides in the fsSize() function, which fails to properly sanitize the drive parameter before concatenating it into a PowerShell command. This oversight allows for OS command injection, enabling attackers to execute arbitrary commands on affected systems if user-controlled input is passed to the vulnerable function. The issue is particularly concerning given the library's widespread use, with over 16 million monthly users potentially at risk.
The vulnerability is remotely exploitable and has been addressed in version 5.27.14 of the library. Security researchers emphasize that the actual risk depends on how applications utilize the fsSize() function; if user input is not passed to this function, the risk is mitigated. Organizations using the systeminformation library on Windows are strongly advised to update to the patched version immediately to prevent exploitation and potential compromise of their systems.

See affected versions and whether adversaries are exploiting it.
3 events from the most recent confirmed update back to the earliest known activity.
Subsequent public reporting emphasized that the Windows RCE risk in the systeminformation package could affect more than 16 million monthly users of the library. The coverage framed the flaw as a significant risk for Node.js deployments using the package on Windows systems.
The vulnerability was patched in systeminformation version 5.27.14, with advisories and patch details made available on GitHub. Users were advised to upgrade to 5.27.14 or later and avoid passing unsanitized user input to fsSize().
A high-severity OS command injection vulnerability, tracked as CVE-2025-68154, was identified in the systeminformation Node.js library's fsSize() function on Windows. The issue stems from unsanitized concatenation of the optional drive parameter into a PowerShell command, enabling arbitrary command execution when applications pass user-controlled input.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.