# CVE-2026-45787: electerm weak encryption in synced profile data

Source: https://junglewise.ai/threats/cve-2026-45787-electerm-weak-encryption-in-synced-profile-data  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-28. Updated: 2026-06-09  
License: CC BY 4.0 with a link back

CVE-2026-45787 · Severity: medium · CVSS 4 · Published 2026-05-28

Electerm, a terminal and ssh/sftp client, uses an insecure encryption method for syncing user data like bookmarks and profiles. This flaw could allow an attacker to decrypt sensitive information or modify configuration data without being detected. Users should update to the latest version to ensure their synced data remains private and secure.

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

## Quick answers

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

**How severe is CVE-2026-45787?** Medium severity, with a CVSS score of 4, published 28 May 2026.

**Which products and versions are affected?** electerm (npm) < 3.9.5, SEMVER:introduced=0,fixed=3.9.5.

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

**How is CVE-2026-45787 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-45787?** 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.5 or later

  ```sh
  npm install electerm@3.9.5
  ```


## Technical details

Electerm's synchronization mechanism employs deterministic AES-192-CBC encryption with a fixed zero Initialization Vector (IV), a constant Key Derivation Function (KDF) salt, and lacks a Message Authentication Code (MAC). These cryptographic weaknesses allow for offline password cracking across different installations and enable undetected ciphertext bit-flipping attacks. An attacker with access to the synced data can compromise the confidentiality of bookmarks and profiles or modify configurations. The vulnerability is addressed in version 3.9.5 by improving the encryption implementation.

## Affected products

- electerm electerm < 3.9.5

## Identifiers

- CVE-2026-45787
- GHSA-g29v-q6h7-76wh

## Timeline

- 2026-05-13: disclosed
- 2026-05-14: advisory: GHSA-g29v-q6h7-76wh published
- 2026-05-14: patched: Version 3.9.5 released

## References

- [https://api.github.com/users/Curly-Haired-Baboon](https://api.github.com/users/Curly-Haired-Baboon)
- [https://github.com/Curly-Haired-Baboon](https://github.com/Curly-Haired-Baboon)
- [https://api.github.com/users/Curly-Haired-Baboon/gists%7B/gist_id%7D](https://api.github.com/users/Curly-Haired-Baboon/gists%7B/gist_id%7D)
- [https://api.github.com/users/Curly-Haired-Baboon/repos](https://api.github.com/users/Curly-Haired-Baboon/repos)
- [https://avatars.githubusercontent.com/u/227850795?v=4](https://avatars.githubusercontent.com/u/227850795?v=4)
- [https://api.github.com/users/Curly-Haired-Baboon/events%7B/privacy%7D](https://api.github.com/users/Curly-Haired-Baboon/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 local code execution via single-instance socket](https://junglewise.ai/threats/cve-2026-45353-electerm-local-code-execution-via-single-instance-socket)
- [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)
