# CVE-2025-68154: Command Injection in fsSize() on Windows

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 12.3%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-16T18:18:03.640Z
- Modified: 2026-09-30T23:10:00.237Z
- Also known as: GHSA-wphj-fx3q-84ch
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sebhildebrandt systeminformation: < 5.27.14
- systeminformation (npm): before 5.27.14
- systeminformation systeminformation: before 5.27.14

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68154> (advisory)
- <https://github.com/sebhildebrandt/systeminformation> (package)

## Sources

- CVE List: [CVE-2025-68154](https://www.cve.org/CVERecord?id=CVE-2025-68154), CVE Terms of Use, modified 2025-12-17
- GitHub Advisory Database: [GHSA-wphj-fx3q-84ch](https://github.com/advisories/GHSA-wphj-fx3q-84ch), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-68154](https://nvd.nist.gov/vuln/detail/CVE-2025-68154), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2025-68154 · Whole record: https://cve.day/CVE-2025-68154.json · Rebuilt by cve.day 2026-11-25T22:59:09.554Z
