# CVE-2026-45353: electerm local code execution via single-instance socket

Source: https://junglewise.ai/threats/cve-2026-45353-electerm-local-code-execution-via-single-instance-socket  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-28. Updated: 2026-07-06  
License: CC BY 4.0 with a link back

CVE-2026-45353 · Severity: high · CVSS 7.8 · Published 2026-05-28

Electerm is a terminal and file transfer client used by developers and system administrators. A security flaw allows other programs running on the same computer to send malicious instructions to Electerm without any user interaction. This could allow an attacker to take control of the computer, run unauthorized commands, or access sensitive data.

Technologies: [electerm (npm)](https://junglewise.ai/threats/technologies/electerm). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-45353 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45353 being exploited in the wild.

**How severe is CVE-2026-45353?** High severity, with a CVSS score of 7.8, published 28 May 2026.

**Which products and versions are affected?** electerm (npm) >= 3.0.6, <= 3.8.8, SEMVER:introduced=3.0.6,fixed=3.9.0.

**Is there a fix for CVE-2026-45353?** Yes. electerm (npm): upgrade to 3.9.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-45353 attacked?** It is attacked with local access, in a network appliance.

**Am I affected by CVE-2026-45353?** Check whether you run electerm (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- electerm (npm): upgrade to 3.9.0 or later

  ```sh
  npm install electerm@3.9.0
  ```


## Technical details

A local code execution vulnerability exists in Electerm due to improper verification of the source of communication on its single-instance socket/pipe. Any process running under the same user context can send a crafted JSON payload to this socket, which Electerm processes without UI interaction. This can be exploited to create new tabs and spawn attacker-controlled local processes. The issue is rooted in improper permission assignment (CWE-732) and improper verification of the communication channel (CWE-940). A fix is available in version 3.9.0.

## Affected products

- electerm electerm >= 3.0.6, <= 3.8.8

## Identifiers

- CVE-2026-45353
- GHSA-7p5m-v798-f8vv

## Timeline

- 2026-05-12: disclosed
- 2026-05-14: advisory
- 2026-05-14: patched

## References

- [https://api.github.com/users/amwhoi](https://api.github.com/users/amwhoi)
- [https://github.com/amwhoi](https://github.com/amwhoi)
- [https://api.github.com/users/amwhoi/gists%7B/gist_id%7D](https://api.github.com/users/amwhoi/gists%7B/gist_id%7D)
- [https://api.github.com/users/amwhoi/repos](https://api.github.com/users/amwhoi/repos)
- [https://avatars.githubusercontent.com/u/227850795?v=4](https://avatars.githubusercontent.com/u/227850795?v=4)
- [https://api.github.com/users/amwhoi/events%7B/privacy%7D](https://api.github.com/users/amwhoi/events%7B/privacy%7D)

## Related threats

- [electerm OS command injection in file system operations](https://junglewise.ai/threats/cve-2026-49255-electerm-os-command-injection-in-file-system-operations)
- [electerm path traversal in Zmodem and Trzsz download handlers](https://junglewise.ai/threats/cve-2026-49253-electerm-path-traversal-in-zmodem-and-trzsz-download-handlers)
- [electerm weak encryption in synced profile data](https://junglewise.ai/threats/cve-2026-45787-electerm-weak-encryption-in-synced-profile-data)
- [electerm code execution via imported bookmarks or sync targets](https://junglewise.ai/threats/cve-2026-45058-electerm-code-execution-via-imported-bookmarks-or-sync-targets)
- [electerm code execution via deep links or CLI options](https://junglewise.ai/threats/cve-2026-43944-electerm-arbitrary-code-execution-via-deep-links-or-cli-options)
