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.
History

Tue, 16 Dec 2025 18:30:00 +0000

Type Values Removed Values Added
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.
Title Command Injection in fsSize() on Windows
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-12-16T18:18:03.640Z

Reserved: 2025-12-15T23:02:17.603Z

Link: CVE-2025-68154

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-12-16T19:16:00.257

Modified: 2025-12-16T19:16:00.257

Link: CVE-2025-68154

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.