Back to list

electerm has Command Injection via runLinux funtion — CVE-2026-41501

GitHub · GitHub · CVE-2026-41501

ID
CVE-2026-41501
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.8
EPSS
0.00534

Summary

### Impact _What kind of vulnerability is it? Who is impacted?_ **Command Injection vulnerabilities in electerm:** A command injection vulnerability exists in `github.com/elcterm/electerm/npm/install.js:130`. The `runLinux()` function appends attacker-controlled remote version strings directly into an `exec("rm -rf ...")` command without validation. **Who is impacted:** Users who run `npm install -g electerm` in…

Product

npm: electerm

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories