Loading...
Skip to main content

CVE-2026-41501 — Vulnerability in electerm — CVE Details

CRITICAL

electerm has Command Injection via runLinux funtion

Published April 24, 2026Updated May 12, 2026Source: osv

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:130`. The `runLinux()` function appends attacker-controlled remote version strings directly into an `exec("rm -rf ...")` command without validation. **Who is impacted:** Users who run `npm install -g electerm` in Linux. 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](https://github.com/electerm/electerm/commit/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

Advisory Timeline

  • First published April 24, 2026 (171 days ago).
  • Last revised May 12, 2026 — 18 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update electerm to 3.3.8 or later
npm install electerm@3.3.8

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
electerm
npm
All versions3.3.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-41501?
electerm has Command Injection via runLinux funtion 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-41501?
CVE-2026-41501 affects electerm. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41501 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-8x35-hph8-37hq

Related CVEs

  • CVE-2026-43940
    CRITICAL

    Electerm runWidget has a path traversal that leads to arbitrary code execution

  • CVE-2026-45058
    CRITICAL

    Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark

  • CVE-2026-43944
    CRITICAL

    Electerm users can run dangrous code through link or command line

  • CVE-2026-41500
    CRITICAL

    electerm: electerm_install_script_CommandInjection Vulnerability Report

  • CVE-2026-108261
    CRITICAL

    TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment

  • CVE-2026-43941
    HIGH

    Electerm has an unvalidated shell.openExternal that allows arbitrary protocol execution via terminal link click

  • CVE-2026-43943
    HIGH

    Electerm Security Vulnerability: RCE via malicious SSH server filename in openFileWithEditor

  • CVE-2026-49255
    HIGH

    electerm has Command Injection in File System Operations (rmrf, mv, cp)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies