CVE-2026-41501
criticalpriority · track · 0EPSS 0.013 · 70 %ileEUUSEPSS · scored 2026-10-27
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.3.8, 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. This issue has been patched in version 3.3.8.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-8x35-hph8-37hqelecterm has Command Injection via runLinux funtion2026-04-24ghsa · osvUS
### 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 Linux. An attacker who can control the remote release metadata (version string or release name) served by the project's update server could execute arbitrary system commands, tamper local files, and escalate compromise of development/runtime assets. --- ### Patches _Has the problem been patched? What versions should users upgrade to?_ Fixed in [59708b38c8a52f5db59d7d4eff98e31d573128ee](https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee), user no need to upgrade, the new version already published in npm --- ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ no
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/electerm/electerm/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-41501cnnvd
- https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128eeenisa_euvd
- https://github.com/electerm/electerm/releases/tag/v3.3.8enisa_euvd
- https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hqenisa_euvd
- https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128eePatchnvd
- https://github.com/electerm/electerm/releases/tag/v3.3.8Release Notesnvd
- https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hqPatchVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan