Advisory

GHSA-g29v-q6h7-76wh

Also known as: CVE-2026-45787

Summary

electerm's encrypt method not safe enough

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-14 20:30 UTC
Modified
2026-06-09 10:30 UTC

Affected packages and fixes

electerm

npm · All systems

Affected

  • introduced 0, fixed 3.9.5 (semver)

Fixed versions

3.9.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences