Vulnerability · Published May 28, 2026 · Assigned by GitHub_M
CVE-2026-45058electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark
Critical 9.4
In plain English
A critical-severity code injection in electerm from electerm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electerm | no fix listed | GHSA-jgg9-rw32-44pj |
Affected products (as reported)
Weakness: CWE-94, CWE-345, CWE-494, CWE-915 · 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
References
- https://github.com/electerm/electerm/security/advisories/GHSA-jgg9-rw32-44pj x_refsource_CONFIRM