CVE-2026-43944: Electerm Electerm Users Can Run Dangrous Vulnerability

CRITICAL
Advisory Identifier: GHSA-mpm8-cx2p-626q
CVSS 9.6
CWE-829 CWE-94 CWE-20
Published
Advisory Summary

CVE-2026-43944 is a CRITICAL (CVSS 9.6) electerm users can run dangrous vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting Electerm libraries in the npm ecosystem. The issue involves electerm users can run dangrous code through link or command line. Remediation is available by upgrading affected packages to version 3.8.8.

CVE-2026-43944 at a Glance

CVE Identifier CVE-2026-43944
GHSA Identifier GHSA-mpm8-cx2p-626q
Severity CRITICAL
CVSS v3.1 Base Score 9.6
CWE Classification CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Affected Product Electerm
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 9.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-43944

To remediate this vulnerability, upgrade all affected Electerm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

electerm fixed: 3.8.8
npm install electerm@3.8.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls electerm

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-43944, inspect your project dependencies using npm:

npm ls electerm

Analyze the terminal output to locate any version of Electerm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.8), your application is affected.

Note: The npm ls electerm command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-829: Inclusion of Functionality from Untrusted Control Sphere, where the product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. In Electerm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact _Arbitrary local code execution via deep links, CLI `--opts`, or crafted shortcuts. Affected users: electerm installs that accept protocol URLs or CLI options (affected versions listed in the original report). Exploit requires clicking a crafted `electerm://...` link or opening a crafted shortcut/command that launches electerm with attacker-controlled `opts`._ ### Patches Fixed in version > 3.8.8 commits: - https://github.com/electerm/electerm/commit/8a6a17951e96d715f5a231532bbd8303fe208700 - https://github.com/electerm/electerm/commit/a79e06f4a1f0ac6376c3d2411ef4690fa0377742 - https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507 ### Workarounds - Disable or unregister electerm protocol handlers (Deep Link settings) and avoid clicking `electerm://` links. - Do not run electerm with untrusted `--opts` arguments or open `.lnk` / `.desktop` files from untrusted sources. - Restrict which users can launch electerm on shared machines and avoid leaving electerm installed in locations reachable by other users. - As a temporary measure, run electerm in a confined account or sandbox (non-admin user) to reduce impact. ### References - Report / credit: https://github.com/Curly-Haired-Baboon - Electerm releases: https://github.com/electerm/electerm/releases

CVE-2026-43944 Affected Electerm Versions

1 component(s)
Fixed Versions:
3.8.8
Product / Package Ecosystem Affected Versions Fixed Version
electerm
npm
≥ 3.0.6
< 3.8.8
3.8.8

References

Frequently Asked Questions

What is CVE-2026-43944?
CVE-2026-43944 is a security vulnerability in Electerm involving Electerm users can run dangrous code through link or command line under CWE-829: Inclusion of Functionality from Untrusted Control Sphere.
Which Electerm versions are affected?
Affected versions include releases prior to 3.8.8 across affected packages: electerm.
What version fixes CVE-2026-43944?
Upgrading to 3.8.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is electerm affected?
Yes, electerm is affected in releases prior to 3.8.8. Upgrade your dependency to 3.8.8 or later.
What is the CVSS score of CVE-2026-43944?
CVE-2026-43944 has a CVSS v3.1 base score of 9.6 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-43944?
CVE-2026-43944 is classified under CWE-829: Inclusion of Functionality from Untrusted Control Sphere (The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.).
How can I check npm dependencies for CVE-2026-43944?
Run the dependency tree command: 'npm ls electerm'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mpm8-cx2p-626q",
  "modified" : "2026-05-13T13:32:30Z",
  "published" : "2026-05-08T18:46:04Z",
  "aliases" : [ "CVE-2026-43944" ],
  "summary" : "Electerm users can run dangrous code through link or command line",
  "details" : "### Impact\n_Arbitrary local code execution via deep links, CLI `--opts`, or crafted shortcuts. Affected users: electerm installs that accept protocol URLs or CLI options (affected versions listed in the original report). Exploit requires clicking a crafted `electerm://...` link or opening a crafted shortcut/command that launches electerm with attacker-controlled `opts`._\n\n### Patches\nFixed in version > 3.8.8\n\ncommits:\n\n- https://github.com/electerm/electerm/commit/8a6a17951e96d715f5a231532bbd8303fe208700\n- https://github.com/electerm/electerm/commit/a79e06f4a1f0ac6376c3d2411ef4690fa0377742\n- https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507\n\n### Workarounds\n- Disable or unregister electerm protocol handlers (Deep Link settings) and avoid clicking `electerm://` links.\n- Do not run electerm with untrusted `--opts` arguments or open `.lnk` / `.desktop` files from untrusted sources.\n- Restrict which users can launch electerm on shared machines and avoid leaving electerm installed in locations reachable by other users.\n- As a temporary measure, run electerm in a confined account or sandbox (non-admin user) to reduce impact.\n\n### References\n- Report / credit: https://github.com/Curly-Haired-Baboon\n- Electerm releases: https://github.com/electerm/electerm/releases",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electerm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.6"
      }, {
        "fixed" : "3.8.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/electerm/electerm/security/advisories/GHSA-mpm8-cx2p-626q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-43944"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electerm/electerm/commit/8a6a17951e96d715f5a231532bbd8303fe208700"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electerm/electerm/commit/a79e06f4a1f0ac6376c3d2411ef4690fa0377742"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/electerm/electerm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electerm/electerm/releases/tag/v3.8.15"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-829", "CWE-94" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-08T18:46:04Z",
    "nvd_published_at" : "2026-05-08T04:16:24Z"
  }
}