CVE-2025-68154 Command Injection in fsSize() on Windows
Attackers can execute arbitrary commands on Windows systems if user-controlled input is passed to the fsSize function in the systeminformation library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-68154?
CVE-2025-68154 is a high-severity command injection vulnerability in sebhildebrandt systeminformation, published on 16 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2025-68154?
2 open source packages ship an affected version, including systeminformation. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
systeminformation npm | All versions | 5.27.14 |
systeminformation npm | All versions | 5.27.14 |
Products include Systeminformation Systeminformation.
How do I fix CVE-2025-68154?
Upgrade systeminformation to 5.27.14 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-68154 being exploited?
There is no known exploitation of CVE-2025-68154 in the wild and no public exploit code.
Other vulnerabilities in sebhildebrandt systeminformation
- CVE-2023-42810 systeminformation SSID Command Injection Vulnerability
- CVE-2021-21388 Command Injection Vulnerability in systeminformation
- CVE-2026-26318 systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`
- CVE-2020-7752 Command Injection
- CVE-2026-50289 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
Sources
Also known as CLEANSTART-2026-GO62843, DEBIAN-CVE-2025-68154, GHSA-wphj-fx3q-84ch, MINI-8m8r-p65r-6fxp, MINI-9r3c-wxqg-f8x7, MINI-fj7m-2v9p-2xpf and 7 more.