# CVE-2020-7778: systeminformation OS command injection

Source: https://junglewise.ai/threats/cve-2020-7778-systeminformation-os-command-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-09. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2020-7778 · Severity: low · CVSS 3.1 · Published 2022-02-09

systeminformation is a popular Node.js library used to retrieve system hardware and software information. A command injection vulnerability allows attackers to execute arbitrary OS commands if they can control input passed to the library, potentially leading to system compromise.

Technologies: [systeminformation (npm)](https://junglewise.ai/threats/technologies/systeminformation). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2020-7778 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-7778 being exploited in the wild.

**How severe is CVE-2020-7778?** Low severity, with a CVSS score of 3.1, published 9 February 2022.

**Which products and versions are affected?** systeminformation (npm) SEMVER:introduced=0,fixed=4.30.2.

**Is there a fix for CVE-2020-7778?** Yes. systeminformation (npm): upgrade to 4.30.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2020-7778 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2020-7778?** Check whether you run systeminformation (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- systeminformation (npm): upgrade to 4.30.2 or later

  ```sh
  npm install systeminformation@4.30.2
  ```


## Technical details

The vulnerability is an OS command injection (CWE-78) in systeminformation before version 4.30.2, where an attacker can overwrite object properties and functions to execute arbitrary OS commands. The vulnerability appears to be exploitable via network without authentication or user interaction, allowing an attacker with the ability to influence input to the library to achieve command execution. The attack vector involves prototype pollution or similar object manipulation that enables OS command injection. A fix was released in version 4.30.2.

## Affected products

- systeminformation systeminformation before 4.30.2

## Identifiers

- CVE-2020-7778
- GHSA-8j36-q8x7-pm6q

## Timeline

- 2020-11-26: disclosed
- 4.30.2: patched: Fixed in version 4.30.2
- 2022-02-09: advisory: GHSA-8j36-q8x7-pm6q published

## References

- [https://github.com/sebhildebrandt/systeminformation/commit/11103a447ab9550c25f1fbec7e6d903720b3fea8%23diff-970ae648187190f86bafc8f193b7538200eba164fad0674428b6487582c089cc](https://github.com/sebhildebrandt/systeminformation/commit/11103a447ab9550c25f1fbec7e6d903720b3fea8%23diff-970ae648187190f86bafc8f193b7538200eba164fad0674428b6487582c089cc)

## Related threats

- [systeminformation prototype pollution in networkStats](https://junglewise.ai/threats/cve-2026-116674-systeminformation-is-a-system-and-os-information-library-for)
- [systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net](https://junglewise.ai/threats/cve-2026-116673-systeminformation-is-a-system-and-os-information-library-for)
- [systeminformation PowerShell command injection via Unicode quotation marks](https://junglewise.ai/threats/cve-2026-116576-systeminformation-is-a-system-and-os-information-library-for)
- [sebhildebrandt systeminformation OS command injection in networkInterfaces](https://junglewise.ai/threats/cve-2026-50289-sebhildebrandt-systeminformation-os-command-injection-in)
- [sebhildebrandt systeminformation command injection in networkInterfaces](https://junglewise.ai/threats/cve-2026-44724-sebhildebrandt-systeminformation-command-injection-in)
