---
id: CVE-2025-68154
title: systeminformation is a System and OS information library for node.js
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 …
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: systeminformation
product: systeminformation
affected:
  - systeminformation < 5.27.14
patched:
  - systeminformation 5.27.14
published: '2025-12-16'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68154'
references:
  - url: >-
      https://github.com/sebhildebrandt/systeminformation/commit/c52f9fd07fef42d2d8e8c66f75b42178da701c68
    label: security-advisories@github.com
  - url: >-
      https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-wphj-fx3q-84ch
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.12989
epssPercentile: 0.96209
ingestedAt: '2026-09-30T23:29:32.497Z'
---

## Overview

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.

## Affected

- `systeminformation < 5.27.14`

## Remediation

Upgrade past the affected range:

- `systeminformation 5.27.14`
