Arbitrary Code Injection Affecting electerm package, versions <3.8.15


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th percentile)

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

Start learning
  • Snyk IDSNYK-JS-ELECTERM-17178770
  • published5 Jun 2026
  • disclosed28 May 2026
  • creditCurly-Haired-Baboon

Introduced: 28 May 2026

NewCVE-2026-45058  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade electerm to version 3.8.15 or higher.

Overview

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

Affected versions of this package are vulnerable to Arbitrary Code Injection via the import process of bookmark data or during sync operations. An attacker can execute arbitrary code by injecting malicious fields into imported bookmark JSON files or through compromised sync targets, which are then triggered when a bookmark is opened or when synchronization is applied.

CVSS Base Scores

version 4.0
version 3.1