CVE-2026-45353: Electerm Electerm Local Code Through Electerm's Vulnerability
CRITICALCVE-2026-45353 is a CRITICAL (CVSS 7.8) electerm local code through electerm's vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Electerm libraries in the npm ecosystem. The issue involves electerm local code through electerm's single-instance socket. Remediation is available by upgrading affected packages to version 3.9.0.
CVE-2026-45353 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-45353
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.
npm install electerm@3.9.0
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-45353, 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.9.0), 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. 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
CVE-2026-45353 Affected Electerm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
electerm
|
npm |
≥ 3.0.6
< 3.9.0
|
3.9.0
|
References
Frequently Asked Questions
What is CVE-2026-45353?
Which Electerm versions are affected?
What version fixes CVE-2026-45353?
Is electerm affected?
What is the CVSS score of CVE-2026-45353?
What CWE is associated with CVE-2026-45353?
How can I check npm dependencies for CVE-2026-45353?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7p5m-v798-f8vv",
"modified" : "2026-07-06T15:15:54Z",
"published" : "2026-05-14T20:29:59Z",
"aliases" : [ "CVE-2026-45353" ],
"summary" : "Electerm Local code through electerm's single-instance socket",
"details" : "### Impact\n_Local code execution without UI interaction: any same-user process can send a JSON payload to electerm's single-instance socket/pipe, causing the app to create tabs and potentially spawn attacker-controlled local processes. Affects electerm single-instance installs on the machine._\n\n### Patches\n\n- https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507\n\n### Workarounds\n\n- Do not run unsafe command \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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/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.9.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.8.8"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/electerm/electerm/security/advisories/GHSA-7p5m-v798-f8vv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45353"
}, {
"type" : "WEB",
"url" : "https://github.com/electerm/electerm/commit/0599e67069b00e376a2e962649aaad6096e63507"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/electerm/electerm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732", "CWE-94", "CWE-940" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-14T20:29:59Z",
"nvd_published_at" : "2026-05-28T18:16:35Z"
}
}