{"answers":{"affected":"2 open source packages ship an affected version, including electerm. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-43941 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-43941 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-43941 is a critical command injection vulnerability in electerm, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-43941 and fix it if it is affected.\n\nWhat it is: CVE-2026-43941 is a critical command injection vulnerability in electerm, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-43941 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electerm (npm): affected all versions up to 3.8.15; no fix listed\n- electerm (npm): affected all versions up to 3.8.15; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-43941/ (Markdown: https://insights.sbomify.com/CVE-2026-43941/index.md)","id":"CVE-2026-43941","markdown":"https://insights.sbomify.com/CVE-2026-43941/index.md","name":"CVE-2026-43941","record":{"aliases":["GHSA-fwf6-j56g-m97c"],"analysis":{"component_type":"desktop_application","fix_type":"no_fix_stated","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Terminal client","requires_auth":"none","summary":"Attackers can execute arbitrary code or access local files by tricking users into clicking malicious links in the terminal interface.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"electerm","vendor":"electerm_project"}],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Unvalidated shell.openExternal in electerm allows arbitrary protocol execution via terminal link click","id":"CVE-2026-43941","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"electerm: Full process.env exposed to renderer via window.pre.env in electerm","id":"CVE-2026-43942"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.8.15"],"package":"electerm","purl":null,"source":"GHSA-fwf6-j56g-m97c"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.8.15"],"package":"electerm","purl":"pkg:npm/electerm","source":"GHSA-fwf6-j56g-m97c"}],"prev":{"headline":"electerm: Path traversal in electerm runWidget leads to arbitrary code execution","id":"CVE-2026-43940"},"products":["electerm"],"published":"2026-05-08","related":[{"cvss_score":9.8,"headline":"electerm has Command Injection Vulnerability via runMac function","id":"CVE-2026-41500","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":9.8,"headline":"electerm has Command Injection Vulnerability via runLinux function","id":"CVE-2026-41501","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":9.8,"headline":"electerm allows unauthorized users to execute arbitrary commands","id":"CVE-2020-23256","kev_date_added":null,"published":"2023-01-20"},{"cvss_score":9.4,"headline":"electerm: dangerous code can be run through links or command line","id":"CVE-2026-43944","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":9.3,"headline":"electerm: Local code through electerm's single-instance socket","id":"CVE-2026-45353","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":8.4,"headline":"electerm: Path traversal in electerm runWidget leads to arbitrary code execution","id":"CVE-2026-43940","kev_date_added":null,"published":"2026-05-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-08","vendors":["electerm"]},"summary":"Attackers can execute arbitrary code or access local files by tricking users into clicking malicious links in the terminal interface.","url":"https://insights.sbomify.com/CVE-2026-43941/"}