CVE-2026-45058 — Vulnerability in electerm — CVE Details
Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.30%). Schedule for your next planned update.
Does your project use an affected electerm version?
Paste your package-lock.json to check it for CVE-2026-45058 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Patches
Not yet
Workarounds
- Do not import unsafe data
References
- Report / credit: https://github.com/Curly-Haired-Baboon
- Electerm releases: https://github.com/electerm/electerm/releases
Advisory Timeline
- First published May 14, 2026 (196 days ago).
- Last revised June 9, 2026 — 26 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| electerm npm · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
Frequently Asked Questions
- What is CVE-2026-45058?
- Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-45058?
- CVE-2026-45058 affects electerm. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45058 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 14.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-41501CRITICAL
electerm has Command Injection via runLinux funtion
- CVE-2026-43940CRITICAL
Electerm runWidget has a path traversal that leads to arbitrary code execution
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read
- CVE-2026-43944CRITICAL
Electerm users can run dangrous code through link or command line
- CVE-2026-41500CRITICAL
electerm: electerm_install_script_CommandInjection Vulnerability Report
- CVE-2026-43941HIGH
Electerm has an unvalidated shell.openExternal that allows arbitrary protocol execution via terminal link click
- CVE-2026-43943HIGH
Electerm Security Vulnerability: RCE via malicious SSH server filename in openFileWithEditor
- CVE-2026-49255HIGH
electerm has Command Injection in File System Operations (rmrf, mv, cp)