CVE-2026-41500 — Vulnerability in electerm — CVE Details
electerm: electerm_install_script_CommandInjection Vulnerability Report
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.49%). 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-41500 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
What kind of vulnerability is it? Who is impacted?
Command Injection vulnerabilities in electerm:
A command injection vulnerability exists in github.com/elcterm/electerm/npm/install.js:150. The runMac() function appends attacker-controlled remote releaseInfo.name directly into an exec("open ...") command without validation.
Who is impacted: Users who run npm install -g electerm in Mac OS. An attacker who can control the remote release metadata (version string or release name) served by the project's update server could execute arbitrary system commands, tamper local files, and escalate compromise of development/runtime assets.
Patches
Has the problem been patched? What versions should users upgrade to?
Fixed in 59708b38c8a52f5db59d7d4eff98e31d573128ee, user no need to upgrade, the new version already published in npm
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
no
References
Are there any links users can visit to find out more?
Advisory Timeline
- First published April 16, 2026 (224 days ago).
- Last revised May 11, 2026 — 25 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install electerm@3.3.8
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| electerm npm · Affected: All versions | 3.3.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-77
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/electerm/electerm/security/advisories/GHSA-wxw2-rwmh-vr8fWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41500ADVISORY
- https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128eeWEB
- https://github.com/electerm/electermPACKAGE
- https://github.com/electerm/electerm/releases/tag/v3.3.8WEB
Frequently Asked Questions
- What is CVE-2026-41500?
- electerm: electerm_install_script_CommandInjection Vulnerability Report. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-41500?
- CVE-2026-41500 affects electerm. It has a 2.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41500 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 85.4% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
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-45058CRITICAL
Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark
- 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-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)