CVE-2025-68154
systeminformation is a System and OS information library for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch
- nvd.nist.gov/vuln/detail/CVE-2025-68154
- github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c6
- github.com/advisories/GHSA-wphj-fx3q-84ch
- nvd.nist.gov/vuln/detail/CVE-2025-68154
- cve.org/CVERecord?id=CVE-2025-68154
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.