CVE-2025-68154CWE-78command-injection

CVE-2025-68154

High · published December 17, 2025

CVSS v3.1
8.1
EPSS
13%
Percentile
96.3
In the wild
Unconfirmed
What it is

⚡ A simple drive parameter can lead to full command injection on Windows! The vulnerable `fsSize()` function in systeminformation lets attackers run arbitrary commands — yikes! 🔥 Think of it like a restaurant chef who cooks whatever a customer orders without checking if the ingredients are safe — one bad order can lead to a disastrous meal. Here, the `drive` parameter is that unchecked order, allowing anyone crafty enough to wreak havoc. If an attacker exploits this vulnerability, they could execute any command they want on your system, potentially leading to data breaches or complete system compromise. It’s like leaving your front door wide open for uninvited guests to mess with your belongings — absolutely devastating!

Put simply

Think of it like a restaurant chef who cooks whatever a customer orders without checking if the ingredients are safe — one bad order can lead to a disastrous meal. Here, the `drive` parameter is that unchecked order, allowing anyone crafty enough to wreak havoc. The `fsSize()` function in systeminformation is vulnerable to OS command injection because it directly concatenates user input into a PowerShell command without any sanitization, allowing malicious input to be executed as an arbitrary command.

What to do

If an attacker exploits this vulnerability, they could execute any command they want on your system, potentially leading to data breaches or complete system compromise. It’s like leaving your front door wide open for uninvited guests to mess with your belongings — absolutely devastating! To secure your systems, immediately update systeminformation to version 5.27.14 or later. If you're building applications that use this function, audit your code to ensure no user-controlled input is passed to `fsSize()`. It’s essential to sanitize any input before using it in commands! You've got this! Follow these steps and you'll have your systems locked down and safe in no time. 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.12989 · 96.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-12-17T00:16Z
Affected products (1)
ProductVersionsFixed in
systeminformation/systeminformation< 5.27.145.27.14
References (2)
EPSS history
Timeline
  • 16 DEC 18:18Z
    Command Injection in fsSize() on Windows
    cvelistv5