CVE-2026-45058: Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark
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.
Published May 14, 2026 · Updated Jun 9, 2026
Affected packages
electerm
- Ecosystem
- npm
- Affected
- <= 3.8.8
- Fixed in
- No patched version yet
- Check
npm ls electerm
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to amwhoi.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-45353
Electerm Local code through electerm's single-instance socket
critical7.8May 14, 2026CVE-2026-43940
Electerm runWidget has a path traversal that leads to arbitrary code execution
critical9.8May 8, 2026CVE-2026-43944
Electerm users can run dangrous code through link or command line
critical9.6May 8, 2026CVE-2026-41501
electerm has Command Injection via runLinux funtion
critical9.8Apr 24, 2026CVE-2026-41500
electerm: electerm_install_script_CommandInjection Vulnerability Report
critical9.8Apr 16, 2026
