Skip to content

Vulnerability in electerm

CVE-2026-43941 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Electerm has a vulnerability that allows attackers to execute malicious actions when a user clicks a specially crafted link. This could include leaking important data or executing unauthorized code. All versions are currently affected, and no patch is available yet. It is advisable to avoid clicking on links presented during sessions with unknown parties.

Electerm is vulnerable due to shell.openExternal executing URLs without validating protocols, which attackers can exploit for arbitrary code execution or file access. All versions are affected, with no available patch as of now. As a workaround, avoid clicking links in terminal sessions from untrusted servers, disable hyperlink rendering, or use terminal applications with URI filtering capabilities.

What is the problem

Electerm terminal hyperlink handler passes URLs to shell.openExternal without protocol validation.

Affected scope

Terminal hyperlink handling in Electerm.

Severity

Critical severity with possibility of arbitrary code execution or local file access when user clicks a malicious link.

How to fix

Monitor Electerm's GitHub for patch updates; none released as of v3.7.9.

Workaround

Avoid clicking links from untrusted servers, disable hyperlink rendering in Electerm, use terminal apps with URI filtering.

Detection

Monitor terminal output; avoid clicking unexpected URLs.

Related past incidentsSimilar incidents extracted from past CVEs

A similar issue where malicious links led to RCE via protocol handlers.

ActiveX control vulnerability triggered via malicious link causing RCE.

Adobe Acrobat issue leveraged URL handling for code execution.

If this happens at your companyExpected impact per business scenario

SaaS applications accessed through Electerm.

Unauthorized code could run, compromising user data and operations.

Corporate network access via SSH.

Malicious actors may execute code, gaining access to sensitive internal systems or leaking data.

Remote IT administration using Electerm.

Potential for escalation privileges and unauthorized data access.

Recommended action

Inform users of the risk and implement controls to limit exposure to untrusted links.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'electerm' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で electerm を grep し、稼働しているサービス・バージョンを把握する。

  2. 7
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
npmelecterm
≤ 3.8.15→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In versions 3.8.15 and prior, Electerm's terminal hyperlink handler passes any URL clicked in the terminal directly to shell.openExternal without any protocol validation. An attacker who controls terminal output (e.g., via a malicious SSH server, compromised remote host, or malicious plugin rendering terminal content) can thus achieve arbitrary code execution or local file access on the victim's machine, requiring only that the victim clicks a displayed link. At time of publication, there are no publicly available patches.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details