{"id":"GHSA-jgg9-rw32-44pj","summary":"Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark","details":"### 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","aliases":["CVE-2026-45058"],"modified":"2026-06-09T10:30:11.432360003Z","published":"2026-05-14T20:15:42Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-05-14T20:15:42Z","nvd_published_at":"2026-05-28T18:16:34Z","cwe_ids":["CWE-345","CWE-494","CWE-915","CWE-94"]},"references":[{"type":"WEB","url":"https://github.com/electerm/electerm/security/advisories/GHSA-jgg9-rw32-44pj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45058"},{"type":"PACKAGE","url":"https://github.com/electerm/electerm"}],"affected":[{"package":{"name":"electerm","ecosystem":"npm","purl":"pkg:npm/electerm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.8.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-jgg9-rw32-44pj/GHSA-jgg9-rw32-44pj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}