CVE-2026-41501 electerm has Command Injection Vulnerability via runLinux function

Critical 9.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-41501?

CVE-2026-41501 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:130. The runLinux() function appends attacker-controlled remote version strings directly into an exec("rm -rf ...") command without validation. This issue has been patched in version 3.3.8.

Weakness: CWE-77

Which versions are affected by CVE-2026-41501?

2 open source packages ship an affected version, including electerm. It affects 1 product.

PackageAffectedFixed in
electerm npmAll versions3.3.8
electerm npmAll versions3.3.8

Products include Electerm Project Electerm.

How do I fix CVE-2026-41501?

Upgrade electerm to 3.3.8 or later.

Is CVE-2026-41501 being exploited?

There is no known exploitation of CVE-2026-41501 in the wild and no public exploit code.

Sources

Also known as GHSA-8x35-hph8-37hq.

Is CVE-2026-41501 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free