Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-41501 EUVD-2026-28497GHSA-8x35-hph8-37hq

electerm has Command Injection Vulnerability via runLinux function

Published May 8, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
electerm electerm < 3.3.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electerm < 3.3.8 3.3.8 GHSA-8x35-hph8-37hq

References