NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-41500: electerm: electerm_install_script_CommandInjection Vulnerability Report

criticalCVSS 3.1 9.8GHSA-wxw2-rwmh-vr8f

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.

Published Apr 16, 2026 · Updated May 11, 2026

Affected packages

electerm

Ecosystem
npm
Affected
< 3.3.8
Fixed in
3.3.8
Check
npm ls electerm

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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?_

59708b38c8a52f5db59d7d4eff98e31d573128ee

Credited to nnin-nnin, FORIMOC.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries