{"id":"CVE-2026-45058","aliases":["CVE-2026-45058","GHSA-jgg9-rw32-44pj"],"related":[],"kind":"vulnerability","state":"published","title":"electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n_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._\n\n### Patches\n\nNot yet\n\n### Workarounds\n- Do not import unsafe data\n\n### References\n- Report / credit: https://github.com/Curly-Haired-Baboon\n- Electerm releases: https://github.com/electerm/electerm/releases","format":"markdown","source":"ghsa"}],"published":"2026-05-14T20:15:42.000Z","modified":"2026-06-17T10:51:39.463Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.4,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"}],"cwes":["CWE-94","CWE-345","CWE-494","CWE-915"],"affected":[{"ranges":[{"version":"<= 3.8.8","status":"affected"}],"vendor":"electerm","product":"electerm","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"3.8.8"}],"ecosystem":"npm","package":"electerm","purl":"pkg:npm/electerm","source":"ghsa"}],"references":[{"url":"https://github.com/electerm/electerm/security/advisories/GHSA-jgg9-rw32-44pj","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45058","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/electerm/electerm","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-30T02:03:52.146Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45058","url":"https://www.cve.org/CVERecord?id=CVE-2026-45058","licence":"CVE Terms of Use","modified":"2026-05-30T02:04:03.353Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jgg9-rw32-44pj","url":"https://github.com/advisories/GHSA-jgg9-rw32-44pj","licence":"CC-BY-4.0","modified":"2026-06-09T10:30:11.432Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45058","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45058","licence":"Public domain","modified":"2026-06-17T10:51:39.463Z"}],"updatedAt":"2026-11-25T22:59:22.985Z","epss":{"score":0.00234,"percentile":0.15274,"date":"2026-12-01T12:00:22.000Z"}}