Description
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.
Recommendation
Update the electerm package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.3.8
- Patched version(s): 3.3.8
References
Could your website be exposed too?
SmartScanner can check your website for electerm: electerm_install_script_CommandInjection Vulnerability Report and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Electerm Security Vulnerability: RCE via malicious SSH server filename in openFileWithEditor - CVE-2026-43943
- automagik-genie has a command injection vulnerability - CVE-2026-30635
- @ranfdev/deepobj has a Prototype Pollution vulnerability - CVE-2026-46509
- electerm's encrypt method not safe enough - CVE-2026-45787


