CVE-2020-26245 Prototype Pollution leading to Command Injection in systeminformation
Attackers can execute arbitrary commands via prototype pollution in the systeminformation npm package when processing service parameters.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-26245?
CVE-2020-26245 is a high-severity command injection vulnerability in sebhildebrandt systeminformation, published on 27 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
npm package systeminformation before version 4.30.5 is vulnerable to Prototype Pollution leading to Command Injection. The issue was fixed with a rewrite of shell sanitations to avoid prototyper pollution problems. The issue is fixed in version 4.30.5. If you cannot upgrade, be sure to check or sanitize service parameter strings that are passed to si.inetChecksite().
Which versions are affected by CVE-2020-26245?
2 open source packages ship an affected version, including systeminformation. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
systeminformation npm | All versions | 4.30.5 |
systeminformation npm | All versions | 4.30.5 |
Products include Systeminformation Systeminformation.
How do I fix CVE-2020-26245?
Upgrade systeminformation to 4.30.5 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-26245 being exploited?
There is no known exploitation of CVE-2020-26245 in the wild and no public exploit code.
Other vulnerabilities in sebhildebrandt systeminformation
- CVE-2023-42810 systeminformation SSID Command Injection Vulnerability
- CVE-2021-21388 Command Injection Vulnerability in systeminformation
- CVE-2026-26318 systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`
- CVE-2020-7752 Command Injection
- CVE-2026-50289 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
Sources
Also known as GHSA-4v2w-h9jm-mqjg.