Command Injection in fsSize() on Windows
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sebhildebrandt | systeminformation | before 5.27.14 | 5.27.14 | Patch available | CNA |
| — | systeminformation (npm) | before 5.27.14 | 5.27.14 | Patch available | GHSA-wphj-fx3q-84ch |
- systeminformation Vendorsebhildebrandt Affected before 5.27.14 Fixed in 5.27.14 Patch available CNA
- systeminformation (npm) Vendor— Affected before 5.27.14 Fixed in 5.27.14 Patch available GHSA-wphj-fx3q-84ch
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:* | before 5.27.14 | Vulnerable | sebhildebrandt |
| cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Microsoft |
- cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:* Versions before 5.27.14 Vulnerable ·sebhildebrandt
- cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft
Remediation
- Fix · CNA systeminformation (sebhildebrandt) Fixed in 5.27.14
- Fix · GHSA-wphj-fx3q-84ch systeminformation (npm) Fixed in 5.27.14 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Developer Hub 1
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68154
- 2026-10-03 Alias added: GHSA-wphj-fx3q-84ch
- 2026-10-27 Affected versions changed · Red Hat
References
Exploit 1
Patch 1
More sebhildebrandt Systeminformation vulnerabilities
- TI-2021-04415 Command injection in sebhildebrandt systeminformation KEVCVSS 3.1HIGH 7.8
- TI-2026-37031 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux CVSS 4.0HIGH 8.7
- TI-2023-22901 systeminformation SSID Command Injection Vulnerability CVSS 3.1CRITICAL 9.8
- TI-2020-06270 Command injection in systeminformation CVSS 3.1HIGH 8.8
- TI-2021-04487 Command Injection Vulnerability in systeminformation CVSS 3.1CRITICAL 9.8
- TI-2020-16066 Prototype Pollution leading to Command Injection in systeminformation CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-68154 · CVE Program
- CVE-2025-68154 · NVD
- FIRST EPSS
- GHSA-wphj-fx3q-84ch · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68154 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences