CVE-2026-45058
JSON

9.4critical

electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark

Severity
9.4critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jgg9-rw32-44pj

Description

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In 3.8.8 and earlier, there is persistent local-pty code execution via imported bookmarks or compromised sync targets. Affects users who import bookmark JSON files or who have electerm sync configured (gist/WebDAV). The attacker can inject exec* fields or global config to cause remote code to run when a bookmark is opened or when sync is applied.

Affected

Product or packageVersionsReported by
electerm electerm<= 3.8.8CVE List
electerm (npm)up to 3.8.8GitHub Advisory Database

All scores

GitHub_M9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Classification

CWE-94CWE-345CWE-494CWE-915

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In 3.8.8 and earlier, there is persistent local-pty code execution via imported bookmarks or compromised sync targets. Affects users who import bookmark JSON files or who have electerm sync configured (gist/WebDAV). The attacker can inject exec* fields or global config to cause remote code to run when a bookmark is opened or when sync is applied.

GitHub Advisory Database
Impact

Persistent local-pty code execution via imported bookmarks or compromised sync targets. Affects users who import bookmark JSON files or who have electerm sync configured (gist/WebDAV). The attacker can inject exec* fields or global config to cause remote code to run when a bookmark is opened or when sync is applied.

Patches

Not yet

Workarounds
  • Do not import unsafe data
References

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45058 changed 2026-05-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-jgg9-rw32-44pj changed 2026-06-09CC-BY-4.0
NVDCVE-2026-45058 changed 2026-06-17Public domain