GitHub Advisoryadvisory · npm
GHSA-jgg9-rw32-44pj Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark
CRITICAL
Official page ↗
- Aliases
- CVE-2026-45058
- Ecosystem
- npm
- Packages
- electerm
- Severity
- Critical
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Weaknesses
- CWE-345, CWE-494, CWE-915, CWE-94
- Reviewed
- 2026-05-14
Affected packages
• npm electerm: <= 3.8.8 (no fix yet)
Description
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
• Report / credit: https://github.com/Curly-Haired-Baboon
• Electerm releases: https://github.com/electerm/electerm/releases
Related
Alias · CVE (1)
- CVE-2026-45058 electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. vulnerability