Arbitrary 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 Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTERM-16318355
  • published28 Apr 2026
  • disclosed24 Apr 2026
  • creditFORIMOC

Introduced: 24 Apr 2026

NewCVE-2026-41501  (opens in a new tab)
CWE-77  (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 Arbitrary Command Injection via the runLinux function. An attacker can execute arbitrary system commands, tamper with local files, and escalate compromise of development or runtime assets by supplying a crafted remote version string or release name that is incorporated into an exec command without validation. This is only exploitable if the attacker can control the remote release metadata served by the project's update server.

CVSS Base Scores

version 4.0
version 3.1