CVE-2026-41500 electerm has Command Injection Vulnerability via runMac function
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-41500?
CVE-2026-41500 is a critical vulnerability in electerm, published on 8 May 2026.
Official description
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.3.8, 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. This issue has been patched in version 3.3.8.
Weakness: CWE-77
Which versions are affected by CVE-2026-41500?
2 open source packages ship an affected version, including electerm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
electerm npm | All versions | 3.3.8 |
electerm npm | All versions | 3.3.8 |
Products include Electerm Project Electerm.
How do I fix CVE-2026-41500?
Upgrade electerm to 3.3.8 or later.
Is CVE-2026-41500 being exploited?
There is no known exploitation of CVE-2026-41500 in the wild and no public exploit code.
Other vulnerabilities in electerm
- CVE-2026-41501 electerm has Command Injection Vulnerability via runLinux function
- CVE-2020-23256 electerm allows unauthorized users to execute arbitrary commands
- CVE-2026-43941 Unvalidated shell.openExternal in electerm allows arbitrary protocol execution via terminal link click
- CVE-2026-43944 electerm: dangerous code can be run through links or command line
- CVE-2026-45353 electerm: Local code through electerm's single-instance socket
Sources
Also known as GHSA-wxw2-rwmh-vr8f.