CVE-2025-68154: OS Command Injection in systeminformation fsSize() on Windows
- Vendor
- Systeminformation
CVE-2025-68154 is an OS command injection vulnerability in the Node.js systeminformation library affecting versions prior to 5.27.14 on Windows systems. The flaw is in the fsSize() function, where the optional drive parameter is concatenated directly into a PowerShell command without proper sanitization or validation. If an application passes attacker-controlled input to this parameter, an attacker can inject additional commands and cause arbitrary command execution in the context of the Node.js process. The vulnerability is application-dependent: deployments that do not expose user-controlled input to fsSize() are not exploitable through this issue.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary operating system command execution on affected Windows hosts with the privileges of the application process invoking systeminformation. Depending on the privileges and surrounding environment, this can enable full compromise of the application context, access to sensitive data, execution of follow-on payloads, service disruption, lateral movement, and broader host takeover.
Mitigation
If you can’t patch tonight, do this now.
Until patched versions are deployed, prevent untrusted or externally influenced input from reaching fsSize(). Restrict acceptable values for the drive parameter to a strict allowlist of expected drive identifiers, reject unexpected characters and metacharacters, and avoid constructing workflows that let remote users choose arbitrary drive strings. Additional hardening includes running the Node.js service with least privilege and limiting its ability to spawn or abuse system command execution paths.
Remediation
Patch, then assume compromise.
Upgrade systeminformation to version 5.27.14 or later, which contains the vendor patch for this issue. Review all application code paths that call fsSize() and ensure untrusted input is not passed directly into the drive parameter. Where the library is bundled transitively, update the dependent package set or lockfile so the fixed version is actually deployed.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-68154 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-68154 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-68154?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2025-68154.
- Is there a patch for CVE-2025-68154?
- Upgrade systeminformation to version 5.27.14 or later, which contains the vendor patch for this issue. Review all application code paths that call fsSize() and ensure untrusted input is not passed directly into the drive parameter.
- What products are affected by CVE-2025-68154?
- Systeminformation.
- How severe is CVE-2025-68154?
- CVE-2025-68154 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 3.4% (89th percentile) as of Sep 25, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.