Vulnerabilities/

Electerm has an unvalidated shell.openExternal that allows arbitrary protocol execution via terminal link click

Severity:
High

Description

Electerm’s terminal hyperlink handler passes any URL clicked in the terminal directly to shell.openExternal without any protocol validation.

When a user connects to a malicious SSH server, the attacker can print a crafted URI in the terminal output. If the victim clicks the link, shell.openExternal executes it using the operating system’s default protocol handler.

Recommendation

No fix is available yet. Followings are affected versions:

References

Related Issues

Tags:
npm
electerm
Anything's wrong? Let us know Last updated on May 08, 2026