{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.8.8"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c11eaa82f10ba603983ebe57ed6a2d0206a21fbb"
            }
          ],
          "repo": "https://github.com/electerm/electerm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jgg9-rw32-44pj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-345",
      "CWE-494",
      "CWE-915",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45058.json"
  },
  "details": "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.",
  "id": "CVE-2026-45058",
  "modified": "2026-07-08T05:37:02.106694149Z",
  "published": "2026-05-28T17:20:41.799Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45058.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/electerm/electerm/security/advisories/GHSA-jgg9-rw32-44pj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45058"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark"
}