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 package | Versions | Reported by |
|---|---|---|
| electerm electerm | <= 3.8.8 | CVE List |
| electerm (npm) | up to 3.8.8 | GitHub Advisory Database |
All scores
| GitHub_M | 9.4critical CVSS:4.0 | 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 |
| GitHub | critical CVSS:4.0 | 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 |
Classification
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
- Report / credit: https://github.com/Curly-Haired-Baboon
- Electerm releases: https://github.com/electerm/electerm/releases
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45058 changed 2026-05-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jgg9-rw32-44pj changed 2026-06-09 | CC-BY-4.0 |
| NVD | CVE-2026-45058 changed 2026-06-17 | Public domain |