CVE-2026-45058 electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark

Critical 9.4 Published Updated

Attackers can execute arbitrary code by injecting malicious fields into imported bookmarks or synced configurations in the electerm terminal client.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-45058?

CVE-2026-45058 is a critical code injection vulnerability in electerm, published on 28 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In 3.8.8 and earlier, there is persistent local-pty code execution via imported bookmarks or compromised sync targets. Affects users who import bookmark JSON files or who have electerm sync configured (gist/WebDAV). The attacker can inject exec* fields or global config to cause remote code to run when a bookmark is opened or when sync is applied.

Weakness: CWE-94, CWE-915, CWE-494, CWE-345

Which versions are affected by CVE-2026-45058?

2 open source packages ship an affected version, including electerm.

PackageAffectedFixed in
electerm npmAll versions to 3.8.8None
electerm npmAll versions to 3.8.8None

How do I fix CVE-2026-45058?

No fix has been published for CVE-2026-45058 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-45058 being exploited?

There is no known exploitation of CVE-2026-45058 in the wild and no public exploit code.

Sources

Also known as GHSA-jgg9-rw32-44pj.

Is CVE-2026-45058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free