CVE-2026-41501
CRITICAL
9.8
CVSS 3.1
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.
Metadata
Severity & Metrics
9.8
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| electerm | electerm | — | < 3.3.8 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-77 | cna | CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.8 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (3)
- https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hq https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hq
- https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee
- https://github.com/electerm/electerm/releases/tag/v3.3.8 https://github.com/electerm/electerm/releases/tag/v3.3.8