CVE-2026-41501 electerm has Command Injection Vulnerability via runLinux function
CriticalCVSS 9.8
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electerm | = < 3.3.8 | No fix listed |
| npm electerm(npm) | < 3.3.8 | 3.3.8 |
| electerm project electerm | < 3.3.8 | 3.3.8 |
References
- https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hq patch vendor-advisory
- https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee patch
- https://github.com/electerm/electerm/releases/tag/v3.3.8 release-notes
- nvd.nist.gov third-party-advisory
- github.com