Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electerm
  4. ›
  5. CVE-2026-41500

CVE-2026-41500: electerm: electerm_install_script_CommandInjection Vulnerability Report

April 16, 2026 (updated April 27, 2026)

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.


References

  • github.com/advisories/GHSA-wxw2-rwmh-vr8f
  • github.com/electerm/electerm
  • github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee
  • github.com/electerm/electerm/security/advisories/GHSA-wxw2-rwmh-vr8f
  • nvd.nist.gov/vuln/detail/CVE-2026-41500

Code Behaviors & Features

Detect and mitigate CVE-2026-41500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.3.8

Fixed versions

  • 3.3.8

Solution

Upgrade to version 3.3.8 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Source file

npm/electerm/CVE-2026-41500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:21 +0000.