Command Injection Affecting electerm package, versions <3.3.8


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTERM-16117335
  • published21 Apr 2026
  • disclosed16 Apr 2026
  • creditZhengmin Yu, FORIMOC

Introduced: 16 Apr 2026

NewCVE-2026-41500  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade electerm to version 3.3.8 or higher.

Overview

electerm is an open-sourced terminal/ssh/telnet/serialport/sftp client

Affected versions of this package are vulnerable to Command Injection via the runMac and runLinux functions. An attacker can execute arbitrary system commands and compromise the system by supplying malicious remote release metadata that is incorporated into shell commands without validation.

CVSS Base Scores

version 4.0
version 3.1