CVE-2026-45787: electerm's encrypt method not safe enough
Impact Insecure sync encryption: deterministic AES-192-CBC with a fixed zero IV, constant KDF salt, and no MAC leads to confidentiality and integrity failures for synced bookmark/profile data. Attackers can crack common passwords across installs and perform undetected ciphertext bit-flips to alter config/bookmarks.
Published May 14, 2026 · Updated Jun 9, 2026
Affected packages
electerm
- Ecosystem
- npm
- Affected
- < 3.9.5
- Fixed in
- 3.9.5
- Check
npm ls electerm
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
_Insecure sync encryption: deterministic AES-192-CBC with a fixed zero IV, constant KDF salt, and no MAC leads to confidentiality and integrity failures for synced bookmark/profile data. Attackers can crack common passwords across installs and perform undetected ciphertext bit-flips to alter config/bookmarks._
Patches
- https://github.com/electerm/electerm/commit/9dd8295e37d53396b980cd45dfc5ed11ad79b937
Workarounds
- No
References
- Report / credit: https://github.com/Curly-Haired-Baboon
- Electerm releases: https://github.com/electerm/electerm/releases
Credited to amwhoi.
References
- https://github.com/electerm/electerm/security/advisories/GHSA-g29v-q6h7-76wh
- https://github.com/electerm/electerm/releases/tag/v3.9.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-45787
- https://github.com/electerm/electerm/commit/9dd8295e37d53396b980cd45dfc5ed11ad79b937
- https://github.com/advisories/GHSA-g29v-q6h7-76wh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-49253
electerm has Path Traversal in Zmodem and Trzsz Download Filename Handling
high7.1Jul 2, 2026CVE-2026-49255
electerm has Command Injection in File System Operations (rmrf, mv, cp)
high8.8Jul 2, 2026CVE-2026-45058
Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark
critical9.4No fixMay 14, 2026CVE-2026-45353
Electerm Local code through electerm's single-instance socket
critical7.8May 14, 2026CVE-2026-43940
Electerm runWidget has a path traversal that leads to arbitrary code execution
critical9.8May 8, 2026CVE-2026-43941
Electerm has an unvalidated shell.openExternal that allows arbitrary protocol execution via terminal link click
high8.8No fixMay 8, 2026
