CVE-2026-41501: Vulnerability in Electerm Project Electerm

Critical. 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.

npm, CWE-77

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
1.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-8x35-hph8-37hq
EU ID
EUVD-2026-28497
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Published
24 Apr 2026
Last change
11 Nov 2026
Likelihood rank
Higher than 72 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Electerm Project Electerm Before 3.3.8. Fixed in 3.3.8

Affected packages

Vulnerable version ranges and fixed releases

  • electerm npm, Affected before 3.3.8. Fixed in 3.3.8

Patches and fixes

Updates, commits and release notes

Related