CVE-2025-68154
HIGH 8.1CVSS 3.1systeminformation has a Command Injection vulnerability in fsSize() function on Windows
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.
- Published
- 16 Dec 2025
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-wphj-fx3q-84ch
- Sources
- NVDJSONOSV GHSA-wphj-fx3q-84chJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | systeminformation | systeminformationcpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:* |
< 5.27.14 | 5.27.14 |
| OSV | npm | systeminformation | < 5.27.14 | 5.27.14 |
References
- https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68 · Patch, WEB
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68154 · ADVISORY
- https://github.com/sebhildebrandt/systeminformation · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 16 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Dec 2025)