electerm has Command Injection in File System Operations (rmrf, mv, cp)
- Severity:
- High
Description
A command injection vulnerability exists in electerm’s file system operations (rmrf, mv, cp) in src/app/lib/fs.js. These functions construct shell commands by interpolating file paths directly into command strings without escaping shell metacharacters.
Recommendation
Update the electerm package to the latest compatible version. Followings are version details:
- Affected version(s): <= 3.11.0
- Patched version(s): 3.11.11
References
Related Issues
- electerm has Command Injection via runLinux funtion - CVE-2026-41501
- degit has a Command Injection issue - CVE-2026-11572
- automagik-genie has a command injection vulnerability - CVE-2026-30635
- OpenZeppelin Contracts Wizard has Code Injection in Generated Hardhat and Foundry Tests via Unsanitized opts.name / opts - CVE-2026-48054
You might also like:
- Tags:
- npm
- electerm
Anything's wrong? Let us know Last updated on July 02, 2026


