{"answers":{"affected":"2 open source packages ship an affected version, including electerm.","exploited":"There is no known exploitation of CVE-2026-45058 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-45058 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-45058 is a critical code injection vulnerability in electerm, published on 28 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-45058 and fix it if it is affected.\n\nWhat it is: CVE-2026-45058 is a critical code injection vulnerability in electerm, published on 28 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-45058 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electerm (npm): affected all versions up to 3.8.8; no fix listed\n- electerm (npm): affected all versions up to 3.8.8; 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-45058/ (Markdown: https://insights.sbomify.com/CVE-2026-45058/index.md)","id":"CVE-2026-45058","markdown":"https://insights.sbomify.com/CVE-2026-45058/index.md","name":"CVE-2026-45058","record":{"aliases":["GHSA-jgg9-rw32-44pj"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"electerm terminal client","requires_auth":"none","summary":"Attackers can execute arbitrary code by injecting malicious fields into imported bookmarks or synced configurations in the electerm terminal client.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-494","name":"Download of Code Without Integrity Check"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In 3.8.8 and earlier, there is persistent local-pty code execution via imported bookmarks or compromised sync targets. Affects users who import bookmark JSON files or who have electerm sync configured (gist/WebDAV). The attacker can inject exec* fields or global config to cause remote code to run when a bookmark is opened or when sync is applied.","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":"electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark","id":"CVE-2026-45058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"ClipBucket: Blind SQL Injection in progress_video.php","id":"CVE-2026-45060"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.8.8"],"package":"electerm","purl":null,"source":"GHSA-jgg9-rw32-44pj"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.8.8"],"package":"electerm","purl":"pkg:npm/electerm","source":"GHSA-jgg9-rw32-44pj"}],"prev":{"headline":"matrix-sdk-ui: Incomplete edit validation","id":"CVE-2026-45057"},"products":["electerm"],"published":"2026-05-28","related":[],"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":"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-30","vendors":["electerm"]},"summary":"Attackers can execute arbitrary code by injecting malicious fields into imported bookmarks or synced configurations in the electerm terminal client.","url":"https://insights.sbomify.com/CVE-2026-45058/"}