{"id":"GHSA-mpm8-cx2p-626q","summary":"Electerm users can run dangrous code through link or command line","details":"### Impact\n_Arbitrary local code execution via deep links, CLI `--opts`, or crafted shortcuts. Affected users: electerm installs that accept protocol URLs or CLI options (affected versions listed in the original report). Exploit requires clicking a crafted `electerm://...` link or opening a crafted shortcut/command that launches electerm with attacker-controlled `opts`._\n\n### Patches\nFixed in version \u003e 3.8.8\n\ncommits:\n\n- https://github.com/electerm/electerm/commit/8a6a17951e96d715f5a231532bbd8303fe208700\n- https://github.com/electerm/electerm/commit/a79e06f4a1f0ac6376c3d2411ef4690fa0377742\n- https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507\n\n### Workarounds\n- Disable or unregister electerm protocol handlers (Deep Link settings) and avoid clicking `electerm://` links.\n- Do not run electerm with untrusted `--opts` arguments or open `.lnk` / `.desktop` files from untrusted sources.\n- Restrict which users can launch electerm on shared machines and avoid leaving electerm installed in locations reachable by other users.\n- As a temporary measure, run electerm in a confined account or sandbox (non-admin user) to reduce impact.\n\n### References\n- Report / credit: https://github.com/Curly-Haired-Baboon\n- Electerm releases: https://github.com/electerm/electerm/releases","aliases":["CVE-2026-43944"],"modified":"2026-05-13T13:56:11.555899Z","published":"2026-05-08T18:46:04Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-05-08T18:46:04Z","nvd_published_at":"2026-05-08T04:16:24Z","cwe_ids":["CWE-20","CWE-829","CWE-94"],"severity":"CRITICAL"},"references":[{"type":"WEB","url":"https://github.com/electerm/electerm/security/advisories/GHSA-mpm8-cx2p-626q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43944"},{"type":"WEB","url":"https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507"},{"type":"WEB","url":"https://github.com/electerm/electerm/commit/8a6a17951e96d715f5a231532bbd8303fe208700"},{"type":"WEB","url":"https://github.com/electerm/electerm/commit/a79e06f4a1f0ac6376c3d2411ef4690fa0377742"},{"type":"PACKAGE","url":"https://github.com/electerm/electerm"},{"type":"WEB","url":"https://github.com/electerm/electerm/releases/tag/v3.8.15"}],"affected":[{"package":{"name":"electerm","ecosystem":"npm","purl":"pkg:npm/electerm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.6"},{"fixed":"3.8.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-mpm8-cx2p-626q/GHSA-mpm8-cx2p-626q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}]}