CVE-2025-68154 Command Injection in fsSize() on Windows

High 8.1 Published Updated

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.

PackageAffectedFixed in
systeminformation npmAll versions5.27.14
systeminformation npmAll versions5.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.

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.

Is CVE-2025-68154 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free