CVE-2020-26300: Command Injection in systeminformation

systeminformation Updated 02 Oct 2025

Summary

27/10/2020
Yes i
Moderate
5.9

CVE-2020-26300: Command Injection in systeminformation. Affects systeminformation versions < 4.26.2. Fixed in 4.26.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The systeminformation package is an npm package that provides a simple way to gather system information such as CPU, memory, disk, network, and process details. It is widely used in various applications to retrieve and display system information. However, a command injection vulnerability has been discovered in versions prior to 4.26.2.

Vulnerability Detail

The vulnerability allows an attacker to execute arbitrary commands on the host system by injecting malicious input into the service parameter strings passed to certain functions in the systeminformation package. This can lead to unauthorized access, data leakage, or even complete compromise of the host system. The vulnerability has a CVSS score of 5.9, indicating a moderate severity level.

How To Fix

Latest published version: 5.33.16 as of 22 Oct 2026

npm install systeminformation@5.33.16

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.26.2

This is the first release that contains the fix.

npm install systeminformation@4.26.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not possible, it is important to sanitize or check the service parameter strings that are passed to the following functions: is.services(), is.inetChecksite(), si.inetLatency(), si.networkStats(), is.services(), and si.processLoad(). Ensure that the input is properly validated and does not allow for command injection.

Conclusion

In conclusion, the systeminformation package prior to version 4.26.2 is vulnerable to command injection. It is crucial to upgrade to the latest version or implement proper input validation and sanitization to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for systeminformation →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary commands on the host system, potentially leading to unauthorized access, data leakage, or complete compromise of the system.

Upgrade to version 4.26.2 or later of the systeminformation package. If upgrading is not possible, sanitize or check the service parameter strings passed to the affected functions to prevent command injection.

If upgrading is not possible, ensure proper validation and sanitization of the service parameter strings passed to the affected functions to prevent command injection.

You can find more information about this vulnerability in the systeminformation package's advisory on GitHub: https://github.com/sebhildebrandt/systeminformation

The vulnerability has a CVSS score of 5.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for systeminformation.

How To Fix

Latest published version: 5.33.16 as of 22 Oct 2026

npm install systeminformation@5.33.16

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.26.2

This is the first release that contains the fix.

npm install systeminformation@4.26.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback