Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electerm
  4. ›
  5. CVE-2026-45058

CVE-2026-45058: Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking local type bookmark

May 14, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-jgg9-rw32-44pj
  • github.com/electerm/electerm/security/advisories/GHSA-jgg9-rw32-44pj
  • nvd.nist.gov/vuln/detail/CVE-2026-45058

Code Behaviors & Features

Detect and mitigate CVE-2026-45058 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.8.8

Solution

Unfortunately, there is no solution available yet.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-494: Download of Code Without Integrity Check
  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/electerm/CVE-2026-45058.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:51 +0000.